View source: R/cg_control_metrics.R
get_qcsignal | R Documentation |
Get the medians of the log2-transformed M and U signals. This function uses the DelayedMatrixStats implementations of colMedians for rapid calculations on DelayedArray-formatted matrices.
get_qcsignal(se = NULL, mm = NULL, mu = NULL, sample_idv = NULL)
se |
Valid SummarizedExperiment object, such as a MethylSet or similar object for which getMeth() and getUnmeth() methods are defined (optional). |
mm |
Matrix of methylated/M signals (optional, not required if se provided). |
mu |
Matrix of unmethylated/U signals (optional, not required if se provided). |
sample_idv |
Vector of sample IDs to label rows in the returned data frame (optional, uses mm colnames instead if not provided). |
Calculates the log2 of median signal for methylated/M and unmethylated/U signals separately.
Data frame of signal summaries.
bactrl
library(minfiData) data(MsetEx) se <- MsetEx class(se) # [1] "MethylSet" # attr(,"package") # [1] "minfi" ms <- get_qcsignal(se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.