# install.packages(devtools) ## Install devtools if necessary
devtools::install_github("mtandon09/MAFDashRPackage")
You can run TCGAbiolinks::getGDCprojects()
to get a data frame of available datasets. The last column (tumor
) contains valid TCGA project codes for download.
library(MAFDash)
library(maftools)
# Let's use the example MAF provided by maftools
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
## Text to display as the header in the output file
title_text <- paste0("Example Dashboard")
## Location for the output file
html_filename <- "LAML.mafdash.html"
getMAFDashboard(maf = laml.maf,
outputFileName = html_filename,
outputFileTitle=title_text)
The output can be seen here