Probabilistic Factor Analysis for Spatially-Aware Dimension Reduction
Overview
Probabilistic factor analysis for spatially-aware dimension reduction across multi-section spatial transcriptomics data with millions of spatial locations. More details can be referred to Wei Liu, et al. (2023) doi:10.1101/2023.07.11.548486.
Install
Health
ERRORexamplesr-oldrel-macos-arm64
Running examples in ‘ProFAST-Ex.R’ failed The error most likely occurred in: > ### Name: diagnostic.cor.eigs > ### Title: Determine the dimension of low dimensional embedding > ### Aliases: diagnostic.cor.eigs diagnostic.cor.eigs.default > ### diagnostic.cor.eigs.Seurat > > ### ** Examples > > n <- 100 > p <- 50 > d <- 15 > object <- matrix(rnorm(n*d), n, d) %*% matrix(rnorm(d*p), d, p) > diagnostic.cor.eigs(object, n.sims=2) Warning in diagnostic.cor.eigs.default(object, n.sims = 2) : q_max is not less than the number of columns of X. Set it as ncol(X) - 1 Warning in irlba::irlba(A = Y/sqrt(n), nv = q_max) : You're computing too large a percentage of total singular values, use a standard svd instead. Progress: 100% Progress: ──────────────────────────────── 100% *** caught segfault *** address 0x110, cause 'invalid permissions' Traceback: 1: irlba::irlba(A = X1/sqrt(n), nv = ...[truncated]... options$seed, label = labels[[i]]) 58: furrr_template(args = x, fn = fn, dots = dots, n = n, options = options, progress = progress, type = type, names = names, env_globals = env_globals, expr = expr, extract = furrr_map_extract) 59: furrr_map_template(x = .x, fn = .f, dots = list(...), options = .options, progress = .progress, type = "list", purrr_fn_name = "map", env_globals = .env_globals) 60: furrr::future_map(1:n.sims, corr_fun, n = n, p = p, .progress = TRUE, .options = furrr::furrr_options(seed = seed)) 61: diagnostic.cor.eigs.default(object, n.sims = 2) 62: diagnostic.cor.eigs(object, n.sims = 2) An irrecoverable exception occurred. R is aborting now ... Warning in file(file, open = "r") : cannot open file '/Volumes/Temp/tmp/RtmpuOQnZj/file9b8a4bf240f6.txt': No such file or directory Error in file(file, open = "r") : cannot open the connection Calls: diagnostic.cor.eigs ... furrr_map_template -> furrr_template -> poll_progress -> file Execution halted
- ERROR12 OK, 1 ERRORNow
- ERROR10 OK, 1 NOTE, 3 ERROR2026-03-10
Documentation
- Help pages
- 25
- Examples that run
- 93%13 run in a plain check · 1 never run
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 86%
- Help pages citing references
- 56%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 313
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/feiyoung/profast on 2026-10-18.
GitHub Pages site last deployed 2026-06-05
Dependencies
Installing ProFAST adds 139 packages (84 with compiled code, 132 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB. 1 more not on CRAN is not measured.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.9Latest
- 1.82026-04-29 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.72025-12-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.62025-03-27 · diff ↗
- 1.52025-03-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.42024-03-18 · diff ↗ ·
added 10 exports
AddAdj, FAST_single, NCFM, NCFM_fast, coembed_plot, coembedding_umap, diagnostic.cor.eigs, find.signature.genes, get.top.signature.dat, pdistance - 1.32024-01-11 · diff ↗ ·
removed 5 exports
AddParSettingProFAST, ProFAST, ProFAST_run, ProFAST_structure, model_set_ProFASTadded 5 exports
AddParSettingFAST, FAST, FAST_run, FAST_structure, model_set_FAST - 1.22023-06-08
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-06-08
- Total releases
- 8 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 2.0 MB / 3 files
- Download size
- 2.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ProFAST")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.