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
)
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
cbioprotal study ID
HGNC gene symbol.
if specified, output to a file in CSV format.
Default is NA
.
mapping table from mutation type to class.
See mapMutationTypeToMutationClass
for details. Default
NA
, which indicates to use default mappings.