Description Usage Arguments See Also Examples
View source: R/plotFunctions.R
plot the variances explained by the explanatory variable
1 2 3 4 5 6 7 | plotVarianceExplained(
sces,
feature = c("genevar_by_counts", "genevar_by_features", "genevar_by_Mt",
"genevar_by_rRNA"),
scolors = 1:length(sces),
lineSize = 1
)
|
sces |
list; a list of SingleCellExperiment objects; each object containing QC metadata for each dataset; (results from |
feature |
string; the explanatory variable to plot; feature should be genevar_by_counts, genevar_by_features, genevar_by_Mt, or genevar_by_rRNA; (default: genevar_by_counts) |
scolors |
a vector of color; the color of each dataset (default: 1:length(sces)) |
lineSize |
integer; the line size of the fitted mean-variance trend curve (default: 1) |
1 2 3 4 5 6 7 8 | 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"))
#plot the variance explained by the total_counts
plotVarianceExplained(sces)
#plot the variance explained by the total number of genes
plotVarianceExplained(sces,feature="genevar_by_features")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.