Description Usage Arguments Value Examples
This subsets an FSPY object by given a list of cells or cluster id. This function will subset all results without recalculating them, such as knn, PCA, tSNE, umap and pseudotime. For instance, you can choose recalculate PCA and tSNE and destiny scores by paramter recalculate.
1 | subsetFSPY(object, cells = NULL, knn = NA, verbose = FALSE)
|
object |
An FSPY object |
cells |
vector, Names of the cells to retain. |
knn |
numeric. If is NA, the KNN will be equal to the knn number in the input FSPY object. |
verbose |
logic. Whether to print calculation progress. |
An FSPY object
1 2 3 4 5 6 7 | if (FALSE) {
cells <- test.meta.data$cell[which(test.meta.data$stage == "D0")]
sub.fspy <- subsetFSPY(fspy, cells = cells)
sub.fspy
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.