A function to detect MAF genome
detectMAFGenome(maf)
The MAF object
A list containing the genome information
library(MAFDash)
library(maftools)
maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash")
detectMAFGenome(read.maf(maf))
#> -Reading
#> -Validating
#> -Silent variants: 561
#> -Summarizing
#> --Possible FLAGS among top ten genes:
#> MACF1
#> MUC16
#> -Processing clinical data
#> --Missing clinical data
#> -Finished in 0.617s elapsed (0.597s cpu)
#> $genome
#> [1] "hg38"
#>
#> $add_chr
#> [1] FALSE
#>
#> $bsgenome_pkg
#> [1] "BSgenome.Hsapiens.UCSC.hg38"
#>