View source: R/vcf_to_maf_table.R
vcfs_to_maf_table | R Documentation |
This function loads VCF files into MAF-like tables. A Tumor_Sample_Barcode column is added, and the contents of the POS/REF/ALT fields are converted to match the style used by MAF files for Start_Position/Reference_Allele/Tumor_Seq_Allele2. The VCF file should represent high-confidence somatic variant calls for a single tumor sample.
vcfs_to_maf_table(vcfs, sample_ids)
vcfs |
Vector of VCF file paths, or a list of VCF-like data.tables, or a single data.table. |
sample_ids |
Identifiers to populate Tumor_Sample_Barcode, one per VCF. |
A single data.table with MAF-style fields, suitable for use with cancereffectsizeR.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.