Description Arguments Value Author(s) Examples
This function applies the given anti-profile to a new set of samples. Rownames in the expression matrix are used to match probenames in the AntiProfile object.
fit |
an object of class AntiProfile as produced by the buildAntiProfile method |
expr |
a matrix of gene expression, rownames are used as identifiers |
a numeric vector of anti-profile scores
Hector Corrada Bravo hcorrada@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 | if (require(antiProfilesData)) {
data(apColonData)
# compute statistics
colonStats = apStats(exprs(apColonData), pData(apColonData)$Status)
# create an anti-profile, ignoring tissue-specificity of probesets, with 10 probesets
ap = buildAntiProfile(colonStats, tissueSpec=FALSE, sigsize=10)
# get counts for the original dataset
counts =apCount(ap, exprs(apColonData))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.