Description Usage Arguments See Also Examples
View source: R/plotFunctions.R
plot the distribution of total_counts, total_features, pct_counts_Mt (percentage of mtRNA counts) or pct_counts_rRNA (percentage of rRNA counts) for multiple single cell RNAseq datasets
1 2 3 4 5 6 7 | plotDensity(
sces,
feature = c("total_counts", "total_features", "pct_counts_Mt", "pct_counts_rRNA"),
featureLabel = NULL,
scolors = 1:length(sces),
lineSize = 1
)
|
sces |
a list of SingleCellExperiment objects; each object containing QC metadata for each dataset; (results from |
feature |
string; which features to plot; features can be total_counts, total_features, pct_counts_Mt, pct_counts_rRNA; (default: total_counts) |
featureLabel |
string; label of feature |
scolors |
vector of color |
lineSize |
integer; size of line |
1 2 3 4 5 6 7 | library(scRNABatchQC)
sces<-Process_scRNAseq(inputfiles=c("https://github.com/liuqivandy/scRNABatchQC/raw/master/bioplar1.csv.gz",
"https://github.com/liuqivandy/scRNABatchQC/raw/master/bioplar5.csv.gz"))
plotDensity(sces,"total_counts")
# plot the total counts distribution of the first dataset
plotDensity(sces[1],"total_counts")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.