morinlab / GAMBLR

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

Error thrown by prettyGeneCloud example #205

Closed rdmorin closed 1 year ago

rdmorin commented 1 year ago

The call to prettyGeneCloud in the examples seems to throw an error.

https://morinlab.github.io/GAMBLR/reference/prettyGeneCloud.html

#build wordcloud
prettyGeneCloud(maf_df = maf, these_genes = my_genes)
#> Error in dplyr::filter(maf_df, Hugo_Symbol %in% these_genes): Problem while computing `..1 = Hugo_Symbol %in% these_genes`.
#> Caused by error in `h()`:
#> ! error in evaluating the argument 'table' in selecting a method for function '%in%': object 'my_genes' not found
mattssca commented 1 year ago

Interesting that build_site never warned about this. The reason for this error seems to be that the function pull can not be found. Thanks for finding this, I will udpate this function with a working example. I will also have a look at the other function-specific HTMLs to make sure no other examples are erroring out.

mattssca commented 1 year ago

The example has been updated, package docs regenerated, and the website rebuilt in this PR.