View source: R/classFunctions.R
| SoupChannel | R Documentation | 
Creates a SoupChannel object that contains everything related to the soup estimation of a single channel.
SoupChannel(tod, toc, metaData = NULL, calcSoupProfile = TRUE, ...)
tod | 
 Table of droplets. A matrix with columns being each droplet and rows each gene.  | 
toc | 
 Table of counts.  Just those columns of   | 
metaData | 
 Meta data pertaining to the cells.  Optional.  Must be a data-frame with rownames equal to column names of   | 
calcSoupProfile | 
 By default, the soup profile is calculated using   | 
... | 
 Any other named parameters to store.  | 
A SoupChannel object.
SoupChannelList estimateSoup setSoupProfile setClusters
#Load droplet and count tables
tod = Seurat::Read10X(system.file('extdata','toyData','raw_gene_bc_matrices','GRCh38',
                                  package='SoupX'))
toc = Seurat::Read10X(system.file('extdata','toyData','filtered_gene_bc_matrices','GRCh38',
                                  package='SoupX'))
#Default calculates soup profile
sc = SoupChannel(tod,toc)
names(sc)
#This can be suppressed
sc = SoupChannel(tod,toc,calcSoupProfile=FALSE)
names(sc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.