Description Usage Arguments Value Author(s) References Examples
Annotates a matrix of M-values (logit transform of beta) with weights
(depending on analysis.type
) and other relevant information
including gene association.
1 2 3 4 |
object |
A matrix of M-values, with unique Illumina probe IDs as rownames and unique sample IDs as column names. |
annotation |
A vector describing the type of annotation to affix to
|
analysis.type |
|
design |
Study design matrix. Identical context to differential analysis
pipeline in |
contrasts |
Logical denoting whether a |
cont.matrix |
|
coef |
The column index in |
... |
Extra arguments passed to the |
An object of class "annot", for passing to dmrcate
, containing
the vectors:
ID
: Illumina probe ID
weights
: t-statistic between phenotypes for each probe
CHR
: Chromosome which the probe maps to
pos
: hg19 position (on CHR
) that the probe maps to
gene
: Matching UCSC_RefGene_Name
group
: Matching UCSC_RefGene_Group
betafc
: The beta fold change according to the given design
indfdr
: The post-kernel fitting limma
fdr value
Tim J. Peters <Tim.Peters@csiro.au>
Smyth, G. K. (2005). Limma: linear models for microarray data. In: Bioinformatics and Computational Biology Solutions using R and Bioconductor, R. Gentleman, V. Carey, S. Dudoit, R. Irizarry, W. Huber (eds.), Springer, New York, pages 397-420.
Peters T.J., Buckley M.J., Statham, A., Pidsley R., Samaras K., Lord R.V., Clark S.J. and Molloy P.L. De novo identification of differentially methylated regions in the human genome. Epigenetics & Chromatin 2015, 8:6, doi:10.1186/1756-8935-8-6.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(dmrcatedata)
myMs <- logit2(myBetas)
myMs.noSNPs <- rmSNPandCH(myMs, dist=2, mafcut=0.05)
patient <- factor(sub("-.*", "", colnames(myMs)))
type <- factor(sub(".*-", "", colnames(myMs)))
design <- model.matrix(~patient + type)
myannotation <- cpg.annotate(myMs.noSNPs, analysis.type="differential",
design=design, coef=39)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.