Description Usage Arguments Value Examples
View source: R/compute_metrics.R
The function computes the ratio of the intensities of sample channels over the intentisty of the carrier channel for each feature. The ratios are averaged within the assay.
1 | computeSCR(obj, i, colDataCol, samplePattern, carrierPattern)
|
obj |
A |
i |
A |
colDataCol |
A |
samplePattern |
A |
carrierPattern |
A |
A QFeatures
object for which the rowData
of the given
assay(s) is augmented with the mean SCR (.meanSCR
variable).
1 2 3 4 5 6 7 8 | data("scp1")
scp1 <- computeSCR(scp1,
i = 1,
colDataCol = "SampleType",
carrierPattern = "Carrier",
samplePattern = "Blank|Macrophage|Monocyte")
## Check results
rowDataToDF(scp1, 1, ".meanSCR")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.