datapair.mk: datapair.mk

Description Usage Arguments Value Examples

View source: R/DE.R

Description

This function is to make a datapair that includes UMI/normalized UMI ,atrix as well as information table, out of one or multiple seurat objects

Usage

1
2
datapair.mk(Seurat.ob.list, cols, pick.list, normalizecellsize = F,
  randomizecelloirder = T)

Arguments

Seurat.ob.list

a list of seurat object that I will extract data from

cols

a vector of columns that will be considered for each object in order

pick.list

a list of vectors that set the rules to take data

normalizecellsize,

if true, then normalize the matrix by total cell umi. Default is F '@param randomizecelloirder If T, randomize the cell order in matrix, default is T

Value

return data pair that can be used for DE, bubble plot and others.

Examples

1
ROCKvsnorock.endo.paired<-datapair.mk(list(S7rock=S7rock_1.ob,S7=S7.ob),cols=c("Sample","Sample.2nd"),pick.list=list(c("s7.RockII_1"),c("s7.B_1")),normalizecellsize=F,randomizecelloirder=T)

chenweng1991/EZsinglecell documentation built on July 11, 2020, 3:23 p.m.