| makeGenomicRatioSetFromMatrix | R Documentation |
Make a GenomicRatioSet from a matrix.
makeGenomicRatioSetFromMatrix(mat, rownames = NULL, pData = NULL,
array = "IlluminaHumanMethylation450k",
annotation = .default.450k.annotation,
mergeManifest = FALSE, what = c("Beta", "M"))
mat |
The matrix that will be converted. |
rownames |
The feature IDs associated with the rows of |
pData |
A |
array |
Array name. |
annotation |
The feature annotation to be used. This includes the location of features thus depends on genome build. |
mergeManifest |
Should the Manifest be merged to the final object. |
what |
Are |
Many 450K data is provided as csv files. This function permits you to
convert a matrix of values into the class that is used by functions such
as bumphunter and blockFinder. The rownames of mat
are used to match the 450K array features. Alternatively the rownames
can be supplied directly through rownames.
A GenomicRatioSet object.
Rafael A. Irizarryrafa@jimmy.harvard.edu.
getGenomicRatioSetFromGEO is similar but reads data from GEO.
mat <- matrix(10,5,2)
rownames(mat) <- c( "cg13869341", "cg14008030","cg12045430", "cg20826792","cg00381604")
grset <- makeGenomicRatioSetFromMatrix(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.