Description Usage Arguments Details Value See Also Examples
View source: R/scMethrix_dimensionality.R
Reduces dimensionality (tSNE, UMAP, PCA, or custom)
1 2 3 4 5 6 7 8 9 10 11 12 |
scm |
scMethrix; Input |
assay |
string; The assay to use. Default is 'score' |
type |
string; the type of imputation "tSNE","UMAP", or "PCA" |
var |
strning; Choose between random CpG sites ('rand') or most variable CpGs ('top'). Default 'top' |
top_var |
integer; Number of variable CpGs to use. Default 1000 Set it to NULL to use all CpGs (which is not recommended due to memory requirements). |
perplexity |
numeric; Perplexity parameter (should not be bigger than 3 * perplexity < nrow(X) - 1, see details for interpretation) |
verbose |
boolean; flag to output messages or not |
n_components |
integer; Number of components to use |
n_neighbors |
integer; number of nearest neighbors for UMAP |
... |
Other arguments that can be passed to Rtsne |
Does reduction stuff
scMethrix
object with reducedDim assay
plot_dim_red()
for plotting
1 | data('scMethrix_data')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.