tmb | R Documentation |
Estimates Tumor Mutation Burden in terms of per megabases
tmb(
maf,
captureRegions = NULL,
captureSize = 50,
logScale = TRUE,
ignoreCNV = TRUE,
plotType = "classic",
pointcol = "#2c3e50",
verbose = TRUE
)
maf |
maf |
captureRegions |
capture regions. Default NULL. If provided sub-sets variants within the capture regions for TMB estimation. Can be a data.frame or a tsv with first three columns containing chromosome, start and end position. |
captureSize |
capture size for input MAF in MBs. Default 50MB. Mutually exclusive with |
logScale |
Default TRUE. For plotting purpose only. |
ignoreCNV |
Default TRUE. Ignores all the variants annotated as 'CNV' in the 'Variant_Type' column of MAF |
plotType |
Can be "classic" or "boxplot". Set to 'NA' for no plot. |
pointcol |
Default #2c3e50 |
verbose |
Default TRUE |
data.table with TMB for every sample
laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf)
tmb(maf = laml)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.