| compute_logratio | R Documentation |
Compute the log ratio of RNA counts to DNA counts using different methods.
For "mean", uses the average of barcode-specific log ratios.
For "sum", sums RNA and DNA counts over barcodes before forming the log ratio.
compute_logratio(object, aggregate = c("mean", "sum", "none"))
object |
An object of class |
aggregate |
Aggregation method over barcodes: |
A matrix with the same dimension as object, containing element-
and sample-specific log ratios.
data(mpraSetAggExample)
logr <- compute_logratio(mpraSetAggExample, aggregate = "sum")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.