Description Usage Arguments Value Author(s) See Also Examples
View source: R/utility-functions.R
This function works on the eSet assayDataElement specified as 'channel' and sweeps out either the 'peak', ( max of the kernel density), 'mean' or 'median' statistic from each column. A modified eSet containing the centered assayDataElement is returned, with an additional .shift column included in the pData slot recording the shift statistic for each sample.
1 | center_eSet(eset, channel, center = "peak", report.center=FALSE)
|
eset |
An eSet object |
channel |
A valid channel / AssayDataElementName of 'eset' |
center |
One of 'peak', 'mean', 'median' or 'none', specifying the statistic to sweep from each column of 'channel' in 'eset'. If 'peak', the max of the kernel density is determined and used a statistic in sweep. If 'none', the original 'eset' is returned. |
report.center |
Logical, include the shift applied to 'channel' in the pData slot of the returned NChannelSet ? |
An eSet of the same class as 'eset' with the centered 'channel' assayData slot. The swept-out statistic is recorded in the 'channel'.shift column of the phenoData slot. In addition, the median absolute deviation around the center is returned.
Thomas Sandmann
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.