View source: R/getMutationsFromCbioportal.R
getMutationsFromCbioportal | R Documentation |
Retrieve and parse mutation data from cBioPortal by the given cBioPortal cancer study ID and the gene symbol.
getMutationsFromCbioportal(
study.id,
gene.symbol,
output.file = NA,
mutation.type.to.class.df = NA
)
study.id |
cbioprotal study ID |
gene.symbol |
HGNC gene symbol. |
output.file |
if specified, output to a file in CSV format.
Default is |
mutation.type.to.class.df |
mapping table from mutation type to class.
See |
a data frame with columns
Hugo gene symbol
Protein change information (cBioportal uses HGVSp format)
Sample ID
mutation type, aka, variant classification.
chromosome
start position
end position
reference allele
variant allele
mutation class (e.g., Truncating/Missense/Inframe/Other)
amino-acid position of the variant; if the variant is not in
protein-coding region, NA
# Usage:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.