Description Usage Arguments Details Value Warning Note Author(s) References See Also Examples
View source: R/dataManagementFunctions.r
Limit an ExpressionSet
object to a subset of its features, using weighted averaging of the expression signal.
1 2 | ExpressionSet2weightedSubset(GEdata, featuresAndWeights, chr,
bpstart, bpend, ncpus = 1, verbose=TRUE)
|
GEdata |
Object of class |
featuresAndWeights |
Object of class |
chr |
Column in the slot |
bpstart |
Column in the slot |
bpend |
Column in the slot |
ncpus |
Number of cpus to be used in computations. |
verbose |
Logical indicator: should intermediate output be printed on the screen? |
Annotation information of features with multiplicity larger than one is compressed as follows. It is assumed that all features map to the same chromosome, leaving no ambiguity. The start base pair of the "new" feature is the smallest start base pair of features from which it has been formed. The end base pair of the "new" feature is the largest end base pair of features from which it has been formed.
Object of class ExpressionSet
, restricted to the specified subset of features.
The phenoData
, experimentData
, and other slots of the ExpressionSet
-object are currently not passed on to the subsetted object.
This is a more intricate version of the ExpressionSet2subset
function. They exists parallel because this function is much slower than its counterpart.
Wessel N. van Wieringen: w.vanwieringen@vumc.nl
Van Wieringen, W.N., Unger, K., Leday, G.G.R., Krijgsman, O., De Menezes, R.X., Ylstra, B., Van de Wiel, M.A. (2012), "Matching of array CGH and gene expression microarray features for the purpose of integrative analysis", BMC Bioinformatics, 13:80.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # load data
data(pollackGE16)
# extract genomic information from ExpressionSet-object
chr <- fData(pollackGE16)[,1]
bpstart <- fData(pollackGE16)[,2]
bpend <- fData(pollackGE16)[,3]
# find unique genomic locations
uniqInfo <- uniqGenomicInfo(chr, bpstart, bpend, verbose = FALSE)
# subset ExpressionSet-object to features with unique genomic locations
pollackGE16 <- ExpressionSet2weightedSubset(pollackGE16, uniqInfo, 1, 2, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.