A function to detect MAF genome

detectMAFGenome(maf)

Arguments

maf

The MAF object

Value

A list containing the genome information

Author

Mayank Tandon, Ashish Jain

Examples

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"
#>