Learn R Programming

TCGAretriever (version 1.7)

basic_tcga_query: TCGA Core Query Engine

Description

Core Function that queries the URL provided as argument (typically a cbioportal.org URL). The function halts until the content has been completely downloaded and returns a data frame.

Usage

basic_tcga_query(my_url)

Value

data.frame including data retrieved from cBioPortal.

Arguments

my_url

string. Typically, a URL pointing to the cBioPortal API.

Author

Damiano Fantini, damiano.fantini@gmail.com

Details

This is a core function invoked by other functions in the package.

References

https://www.data-pulse.com/dev_site/TCGAretriever/

Examples

Run this code
my_url <- "http://www.cbioportal.org/webservice.do?cmd=getCancerStudies"
x <- TCGAretriever:::basic_tcga_query(my_url)
show_head(x, 5, 2) 

 

Run the code above in your browser using DataLab