Description Usage Arguments Details Value Examples
View source: R/signalCalibrate.R
This is the function to do any pre-filtering or pre-processing analysis for downstream benchmark estimation and visualization. Pre-filtering includes row selection (e.g. protein coding genes) of quantification table; pre-processing includes calculation on a set of rows as calibration reference (e.g. house keeping genes) across different quantification pipelines, calibration of quantifications across all the pipelines based on given cutoffs from selected pipelines.
1 2 3 | signalCalibrate(quantData, condInfo, repInfo, evaluationFeature,
calibrationFeature, unitReference, unitCutoff = 0,
calibrationFeature2 = NULL, fixMedian = 4.776)
|
quantData |
A list of quantification matrices each with rows by features (transcripts, genes, junctions or exons) and columns by samples. Names of the list should be provided. The sizes of each element should be the same. Missing data will be set to 0. |
condInfo |
A factor documenting condition information of samples,
corresponding to the columns of each element in |
repInfo |
A factor documenting replicate information of samples,
corresponding to the columns of each element in |
evaluationFeature |
A logical vector corresponding to the
rows of each element in |
calibrationFeature |
A logical vector corresponding to the
rows of each element in |
unitReference |
A numeric number specifying which pipeline will
be selected as reference pipeline, i.e. the index of
one element in |
unitCutoff |
A numeric number for signal cutoff on reference
pipeline specified by |
calibrationFeature2 |
A logical vector corresponding to the
rows of each element in |
fixMedian |
A numeric number specifying the median of detrend
logsignals for features specified by |
In the functions plotSD
and plot2TX
, detrended
signals with value 0 will be at the same level as value 1 for
giving pipeline by unitReference
.
A rnaseqcomp
S4 class object
quantData |
A filtered and calibrated list of quantifications for downstream analysis. |
condInfo |
A factor documenting sample condition information. |
repInfo |
A factor documenting sample replicate information. |
refMed |
A list of numeric vectors giving the log scale medians of calibration features in different pipelines. |
scaler |
A number that was used for scaling quantifications onto reference pipeline. |
1 2 3 4 5 6 7 8 | data(simdata)
condInfo <- factor(simdata$samp$condition)
repInfo <- factor(simdata$samp$replicate)
evaluationFeature <- rep(TRUE, nrow(simdata$meta))
calibrationFeature <- simdata$meta$house & simdata$meta$chr == 'chr1'
unitReference <- 1
dat <- signalCalibrate(simdata$quant, condInfo, repInfo, evaluationFeature,
calibrationFeature, unitReference, calibrationFeature2 = calibrationFeature)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.