addContaminantQC | R Documentation |
The decontam
functions isContaminant
and
isNotContaminant
are made available for
SummarizedExperiment
objects.
addContaminantQC(x, name = "isContaminant", ...)
addNotContaminantQC(x, name = "isNotContaminant", ...)
## S4 method for signature 'SummarizedExperiment'
isContaminant(
seqtab,
assay.type = assay_name,
assay_name = "counts",
concentration = NULL,
control = NULL,
batch = NULL,
threshold = 0.1,
normalize = TRUE,
detailed = TRUE,
...
)
## S4 method for signature 'SummarizedExperiment'
isNotContaminant(
seqtab,
assay.type = assay_name,
assay_name = "counts",
control = NULL,
threshold = 0.5,
normalize = TRUE,
detailed = TRUE,
...
)
## S4 method for signature 'SummarizedExperiment'
addContaminantQC(x, name = "contaminant", ...)
## S4 method for signature 'SummarizedExperiment'
addNotContaminantQC(x, name = "not_contaminant", ...)
name |
|
... |
|
seqtab , x |
a
|
assay.type |
|
assay_name |
Deprecated. Use |
concentration |
|
control |
|
batch |
|
threshold |
|
normalize |
|
detailed |
|
for isContaminant
/ isNotContaminant
a DataFrame
or for addContaminantQC
/addNotContaminantQC
a modified object
of class(x)
decontam:isContaminant
,
decontam:isNotContaminant
data(esophagus)
# setup of some mock data just for example
colData(esophagus)$concentration <- c(1, 2, 3)
colData(esophagus)$control <- c(FALSE, FALSE, TRUE)
isContaminant(
esophagus,
method = "frequency",
concentration = "concentration"
)
esophagus <- addContaminantQC(
esophagus,
method = "frequency",
concentration = "concentration"
)
rowData(esophagus)
isNotContaminant(esophagus, control = "control")
esophagus <- addNotContaminantQC(esophagus, control = "control")
rowData(esophagus)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.