plotGeneCountDistribution: plot the gene count distribution

Description Usage Arguments See Also Examples

View source: R/plotFunctions.R

Description

plot the gene count distribution of top n (default:500) highly expressed genes

Usage

1
2
3
4
5
6
plotGeneCountDistribution(
  sces,
  scolors = 1:length(sces),
  ngenes = 500,
  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))

ngenes

integer; the number of highly expressed genes to plot the distribution (default:500)

lineSize

integer; the line size of the plot (default: 1)

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 average count distribution for all datasets
plotGeneCountDistribution(sces)
#plot the average count distribution for the first dataset
plotGeneCountDistribution(sces[1])

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