Description Usage Arguments Details Value Issues Author(s) See Also Examples
The checkTCGA
function let's to check
DataSets
: TCGA datasets' names for current release date and cohort.
Dates
: TCGA datasets' dates of release.
1 |
what |
One of |
cancerType |
A character of length 1 containing abbreviation (Cohort code - http://gdac.broadinstitute.org/) of types of cancers to check for. |
date |
A |
If what='DataSets'
enables to check TCGA datasets' names for current release date and cohort.
If what='Dates'
enables to check dates of TCGA datasets' releases.
If what='DataSets'
a data.frame of available datasets' names (to pass to the downloadTCGA function) and sizes.
If what='Dates'
a vector of available dates to pass to the downloadTCGA function.
If you have any problems, issues or think that something is missing or is not clear please post an issue on https://github.com/RTCGA/RTCGA/issues.
Marcin Kosinski, m.p.kosinski@gmail.com
RTCGA website http://rtcga.github.io/RTCGA/Download.html.
Other RTCGA: RTCGA-package
,
boxplotTCGA
, convertTCGA
,
datasetsTCGA
, downloadTCGA
,
expressionsTCGA
, heatmapTCGA
,
infoTCGA
, installTCGA
,
kmTCGA
, mutationsTCGA
,
pcaTCGA
, readTCGA
,
survivalTCGA
, theme_RTCGA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #############################
# names for current release date and cohort
checkTCGA('DataSets', 'BRCA' )
## Not run:
checkTCGA('DataSets', 'OV', tail(checkTCGA('Dates'))[3] )
#checkTCGA('DataSets', 'OV', checkTCGA('Dates')[5] ) # error
## End(Not run)
# dates of TCGA datasets' releases.
checkTCGA('Dates')
#############################
## Not run:
# TCGA datasets' names availability for
# current release date and cancer type.
releaseDate <- '2015-08-21'
cancerTypes <- c('OV', 'BRCA')
cancerTypes %>% sapply(function(element){
grep(x = checkTCGA('DataSets', element, releaseDate)[, 1],
pattern = 'humanmethylation450', value = TRUE) %>%
as.vector()
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.