Description Usage Arguments Value Author(s) Examples
Create a mutation matrix using variant types
1 2 | maf2matrix(maf, surv.data = NULL, sample.name = "Tumor_Sample_Barcode",
gene.name = "Hugo_Symbol", variant.type = "Variant_Classification")
|
maf |
a MAF file |
surv.data |
survival data for sample names (default: NULL) |
sample.name |
the column name containing sample names (defult: "Tumor_Sample_Barcode") |
gene.name |
the column name containing gene names (defult: "Hugo_Symbol") |
variant.type |
the column name containing variant types (defult: "Variant_Classification") |
a mutation matrix
Dongmin Jung
1 2 3 | laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml.maf <- read.csv(laml.maf, sep = "\t")
laml.mat <- maf2matrix(laml.maf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.