morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

pretty_lollipop_plot example in vignette not working #79

Closed rdmorin closed 2 years ago

rdmorin commented 2 years ago
#load maf data.
maf = get_coding_ssm(limit_samples = metadata$sample_id, basic_columns = TRUE)

#construct pretty_lollipop_plot.
pretty_lollipop_plot(maf_df = maf, #a data frame containing the mutation data (from a MAF).
                     gene = "MYC", #the gene symbol to plot.
                     plot_title = "Mutation data for MYC", #optional (defaults to gene name).
                     plot_theme = "blue") #Options: cbioportal(default), blue, simple, nature, nature2, ggplot2, and dark.

Running the example above gives the following error:

Error in mapMutationTypeToMutationClass(maf.df[, variant.class.col], mutation.type.to.class.df) : object 'mutation.table.df' not found

mattssca commented 2 years ago

Addressed in this PR