basisSelect | R Documentation |
Wrapper of basis annotation and data-driven basis selection.
basisSelect(
W,
S = NULL,
X = NULL,
toTest = TRUE,
cor_thres = 0.7,
pval_thres = 0.01,
return_fig = FALSE,
adj_method = "BH",
mc.cores = 10,
ncol = 4,
toAnnotate = FALSE,
dim_use = NULL
)
W |
The weight matrix output by PNMF |
S |
The score matrix output by PNMF |
X |
The input gene by cell logcount matrix |
toTest |
Whether to select bases by Pearson correlation w/ cell library size and test of multimodality |
cor_thres |
Pearson correlation w/ cell library size cutoff. Default is 0.7. |
pval_thres |
Adjusted p-value cutoff on test of multimodality. Default is 0.01. |
return_fig |
Whether to print scatter plot of score vector against cell library size and distribution of score vectors for each basis. |
adj_method |
P-value correction method. Default is "BH". |
mc.cores |
The number of cores to use for function mclapply(). |
ncol |
Columns for facets in plots. |
toAnnotate |
Whether to perform Gene Ontology (GO) enrichment analysis on each basis |
dim_use |
The bases (columns) to be used in the selected weight matrix, |
The selected weight matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.