Description Usage Arguments Value Examples
Intermediate function for ranking extraction feom Cell Gene Distance Matrix
1 2 3 4 5 6 7 8 9 | GetCellGeneRanking(X, reduction, dims, features, cells)
## S3 method for class 'Seurat'
GetCellGeneRanking(X, reduction = "mca",
dims = seq(50), features = NULL, cells = NULL)
## S3 method for class 'SingleCellExperiment'
GetCellGeneRanking(X, reduction = "MCA",
dims = seq(50), features = NULL, cells = NULL)
|
X |
Seurat or SingleCell Experiment Object |
reduction |
Which dimensionality reduction to use, must be based on MCA. |
dims |
A vector of integers indicating which dimensions to use with reduction embeddings and loadings for distance calculation. |
features |
Character vector of feature names to subset feature coordinates. If not specified will take all features available from specified reduction Loadings |
cells |
Character vector of cell names to subset cell coordinates. If not specified will take all features available from specified reduction Embeddigns. |
A cell named list of gene rankings ordererd by distances from shortest (most specfic) to farthest (less specific)
1 2 3 4 | ## Not run:
seuratPbmc <- RunMCA(seuratPbmc, nmcs = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.