man/getSampleSummaryStatsTable.Rd
dcba0b94
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/allGenerics.R, R/sampleSummaryStats.R
5551acab
 \name{getSampleSummaryStatsTable}
 \alias{getSampleSummaryStatsTable}
8b21d375
 \alias{setSampleSummaryStatsTable<-}
5551acab
 \alias{getSampleSummaryStatsTable,SingleCellExperiment-method}
8b21d375
 \alias{setSampleSummaryStatsTable<-,SingleCellExperiment-method}
dcba0b94
 \title{Stores and returns table of SCTK QC outputs to metadata.}
 \usage{
5551acab
 getSampleSummaryStatsTable(inSCE, statsName, ...)
dcba0b94
 
8b21d375
 setSampleSummaryStatsTable(inSCE, statsName, ...) <- value
 
5551acab
 \S4method{getSampleSummaryStatsTable}{SingleCellExperiment}(inSCE, statsName, ...)
8b21d375
 
 \S4method{setSampleSummaryStatsTable}{SingleCellExperiment}(inSCE, statsName, ...) <- value
dcba0b94
 }
 \arguments{
 \item{inSCE}{Input \linkS4class{SingleCellExperiment} object with saved
 \link{assay} data and/or \link{colData} data. Required.}
 
 \item{statsName}{A \code{character} value indicating the slot
 that stores the stats table within the metadata of the
 SingleCellExperiment object. Required.}
760fa304
 
 \item{...}{Other arguments passed to the function.}
ae4bffec
 
 \item{value}{The summary table for QC statistics generated from SingleCellTK
 to be added to the SCE object.}
dcba0b94
 }
 \value{
8b21d375
 For \code{getSampleSummaryStatsTable}, A matrix/array object. 
 Contains a summary table for QC statistics generated from SingleCellTK. For
 \code{setSampleSummaryStatsTable<-}, A SingleCellExperiment object where the 
 summary table is updated in the \code{metadata} slot.
dcba0b94
 }
 \description{
 Stores and returns table of QC metrics generated from
  QC algorithms within the metadata slot of the SingleCellExperiment object.
 }
 \examples{
 data(scExample, package = "singleCellTK")
 sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
 sce <- sampleSummaryStats(sce, simple = TRUE, statsName = "qc_table")
5551acab
 getSampleSummaryStatsTable(sce, statsName = "qc_table")
dcba0b94
 }