Description Usage Arguments Value Examples
View source: R/visualise_features.R
A function to visualise the features distribtuion for a list of SingleCellExperiment
1 2 3 4 5 6 7 8 9 10 |
sce_list |
A list of SingleCellExperiment object |
plot |
Type of plot, includes boxplot, violin, jitter, density, and pairwise. By default is boxplot |
altExp_name |
A character indicates which expression matrix is used. by default is none (i.e. RNA). |
exprs_value |
A character indicates which expression value in assayNames is used. |
group_by |
A character indicates how is the expression will be group in the plots (stored in colData). |
feature_subset |
A vector of characters indicates the subset of features that are used for visualisation |
cell_subset |
A vector of characters indicates the subset of cells that are used for visualisation |
n |
A numeric indicates the top expressed features to show. |
A ggplot to visualise te features distribution
1 2 3 4 5 6 7 8 9 | data(sce_control_subset, package = "CiteFuse")
data(sce_ctcl_subset, package = "CiteFuse")
visualiseExprsList(sce_list = list(control = sce_control_subset,
ctcl = sce_ctcl_subset),
plot = "boxplot",
altExp_name = "none",
exprs_value = "logcounts",
feature_subset = c("hg19_CD8A"),
group_by = c("SNF_W_louvain", "SNF_W_louvain"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.