b01005c6 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sampleSummaryStats.R
\name{sampleSummaryStats}
\alias{sampleSummaryStats}
|
ce30e109 |
\title{Generate table of SCTK QC outputs.}
|
b01005c6 |
\usage{
|
dcba0b94 |
sampleSummaryStats(
inSCE,
sample = NULL,
useAssay = "counts",
simple = TRUE,
statsName = "qc_table"
)
|
b01005c6 |
}
\arguments{
\item{inSCE}{Input \linkS4class{SingleCellExperiment} object with saved
|
6fe21ae1 |
\link{assay} data and/or \link{colData} data. Required.}
|
b01005c6 |
\item{sample}{Character vector. Indicates which sample each cell belongs to.}
\item{useAssay}{A string specifying which assay in the SCE to use. Default
'counts'.}
\item{simple}{Boolean. Indicates whether to generate a table of only
basic QC stats (ex. library size), or to generate a summary table of all
QC stats stored in the inSCE.}
|
dcba0b94 |
\item{statsName}{Character. The name of the slot that will store the
QC stat table. Default "qc_table".}
|
b01005c6 |
}
|
ce30e109 |
\value{
|
ff71246e |
A SingleCellExperiment object with a summary table for QC statistics
|
5551acab |
in the `sample_summary` slot of metadata.
|
ce30e109 |
}
|
b01005c6 |
\description{
|
ce30e109 |
Creates a table of QC metrics generated from
|
ff71246e |
QC algorithms, which is stored within the metadata slot of the
input SingleCellExperiment object.
|
b01005c6 |
}
\examples{
data(scExample, package = "singleCellTK")
|
c06bc73b |
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
|
ff71246e |
sce <- sampleSummaryStats(sce, simple = TRUE)
|
5551acab |
getSampleSummaryStatsTable(sce, statsName = "qc_table")
|
b01005c6 |
}
|