View source: R/utility_functions.R
projectReduction | R Documentation |
Project dimensionally-reduced features (e.g., PC, IC) onto UMAP
projectReduction(
object,
reduction = "pca",
n.components = NA,
show.n.features = 50,
pca.min.var.exp = 0.05,
pca.cum.pca.thresh = 0.8,
umap.reduction = "umap",
rel.width = c(2.5, 1),
size = autoPointSize(ncol(object)),
...
)
object |
Seurat Object |
reduction |
Character specifying reduction key. Default: "pca" |
n.components |
Numeric. Number of top components to project. |
show.n.features |
Numeric. Show top n features alongside projection. Default is 50. |
pca.min.var.exp |
Threshold for minimum variance explained by principal component. |
pca.cum.pca.thresh |
Threshold for maximum cumulative variance explained by principal component. |
umap.reduction |
Character specifying reduction key for umap coordinates. |
rel.width |
Relative widths of umap and top feature plots. Default: c(2.5,1) |
... |
additional parameters passed to geom_point(). Generally used to specify point size. |
list of ggplot handles
Nicholas Mikolajewicz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.