View source: R/make_mut_matrix.R
make_mut_matrix | R Documentation |
Make mutation matrix using maf data
make_mut_matrix(
maf = NULL,
mut_data = NULL,
isTCGA = TRUE,
category = "multi",
Tumor_Sample_Barcode = "Tumor_Sample_Barcode",
Hugo_Symbol = "Hugo_Symbol",
Variant_Classification = "Variant_Classification",
Variant_Type = "Variant_Type"
)
maf |
file name or a maf object |
mut_data |
if maf data had beed loaded, this argument will be applied |
isTCGA |
logical variable, |
category |
if category is 'multi', four mutation matrix will be generated: all, snp, indel and frameshift |
Tumor_Sample_Barcode |
column name of tumor sample |
Hugo_Symbol |
column name of gene symbol |
Variant_Classification |
column name of variant classification: Frame_Shift_Del |
Variant_Type |
column name of variant type: SNP, INS, DEL |
Dongqian Zeng
Shixiang Huang
library(TCGAbiolinks)
query <- GDCquery(project = "TCGA-STAD", data.category = "Simple Nucleotide Variation", access = "open", data.type = "Masked Somatic Mutation", workflow.type = "Aliquot Ensemble Somatic Variant Merging and Masking" )
GDCdownload(query)
maf <- GDCprepare(query)
mut_list <- make_mut_matrix(maf = maf, isTCGA = T, category = "multi")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.