plotVarianceTrend: plot Mean~variance trend

Description Usage Arguments See Also Examples

View source: R/plotFunctions.R

Description

plot the gene mean vs. variance trend

Usage

1
2
3
4
5
6
plotVarianceTrend(
  sces,
  scolors = 1:length(sces),
  pointSize = 0.8,
  lineSize = 1
)

Arguments

sces

list; a list of SingleCellExperiment objects; each object containing QC metadata for each dataset; (results from Process_scRNAseq )

scolors

a vector of integer; the color of each dataset (default: 1:length(sces))

lineSize

integer; the line size of the fitted mean-variance trend curve (default: 1)

pointSize;

the point size of each dot representing each gene

See Also

Process_scRNAseq

Examples

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 mean~variance trend for all datasets
plotVarianceTrend(sces)
#plot the mean~variance trend for the first dataset
plotVarianceTrend(sces[1])

liuqivandy/scRNABatchQC documentation built on March 24, 2021, 11:01 p.m.