| SingleCells | R Documentation |
Class interface for single cell data
Class interface for single cell data
R6Class object.
Object of R6Class to store single cell data.
BioData::BioData -> SingleCells
datathe numerical data as data.frame
samplesthe sample annotation as data.frame
annotationthe row annotation as data.frame
usedObja multi purpose list to store whichever ananlyis results do not fit in the stats list
statsall stats with one result for each data row
datathe numerical data as data.frame
samplesthe sample annotation as data.frame
annotationthe row annotation as data.frame
usedObja multi purpose list to store whichever ananlyis results do not fit in the stats list
statsall stats with one result for each data row
force.numeric()SingleCells$force.numeric(...)
clone()The objects of this class are cloneable with this method.
SingleCells$clone(deep = FALSE)
deepWhether to make a deep clone.
set.seed(1)
dat = matrix(rnorm(1000),ncol=10)
dat = round(dat)
dat = dat - min(dat)
dat = data.frame( dat )
colnames(dat) <- paste('Sample', 1:10)
rownames(dat) <- paste( 'gene', 1:100)
samples <- data.frame(SampleID = 1:10, sname = colnames(dat) )
annotation <- data.frame( GeneID = paste( 'gene', 1:100), Start= 101:200 )
x <- SingleCells$new( cbind(annotation,dat),
Samples=samples, name="testObject",namecol='sname', outpath = "" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.