readTCGA(filename, sep = "\t", keyName = "Composite Element REF", Betaname = "Beta_value", pData = NULL, array = "IlluminaHumanMethylation450k", annotation = .default.450k.annotation, mergeManifest = FALSE, showProgress = TRUE)
DataFrame
or data.frame
describing the samples represented by the columns of
mat
. If the rownames of the pData
don't match the colnames
of mat
these colnames will be changed. If pData
is not
supplied, a minimal DataFrame
is created.
makeGenomicRatioSetFromMatrix
. It assumes a very specific
format, used by TCGA, and then uses the fread
function in the data.table package to read the data. To install
data.table type install.packages("data.table")
. We use this
package because the files too large for read.table
.
Currently, an example of a file that this function reads is here:
http://gdac.broadinstitute.org/runs/stddata__2014_10_17/data/UCEC/20141017/gdac.broadinstitute.org_UCEC.Merge_methylation__humanmethylation450__jhu_usc_edu__Level_3__within_bioassay_data_set_function__data.Level_3.2014101700.0.0.tar.gz. Note it is a 8.1 GB archive.
makeGenomicRatioSetFromMatrix
## Not run:
# filename <- "example.txt" ##file must be in the specicif TCGA format
# readTCGA(filename)
# ## End(Not run)
Run the code above in your browser using DataLab