Skip to contents

Annotate CNA

Usage

annotate_cna(cna, return_simple = TRUE, return_query_params = FALSE)

Arguments

cna

a cna file in long format (similar to maf file)

return_simple

Default is TRUE where only a set of the most common columns are returned from oncoKB annotator see oncokbR::output_dictionary for more information on what is returned. If FALSE all raw columns are returned from API.

return_query_params

If TRUE, the specific parameters used to query the API are returned in new columns. This can be useful for troubleshooting the annotator. Default is FALSE.

Value

an annotated cna file

Examples

ex_cna <- blca_cna[1:10,]
ex_cna$tumor_type = "BLCA"

x <- annotate_cna(ex_cna)