View source: R/VCF_to_catalog_functions.R
SimpleReadVCF | R Documentation |
Read a VCF file into a data frame with minimal processing.
SimpleReadVCF(file)
file |
The name/path of the VCF file, or a complete URL. |
Header lines beginning "##" are removed, and column "#CHROM" is renamed to "CHROM". Other column names are unchanged. Columns "#CHROM", "POS", "REF", and "ALT" must be in the input.
A data frame storing mutation records of a VCF file.
file <- c(system.file("extdata/Strelka-SBS-vcf",
"Strelka.SBS.GRCh37.s1.vcf",
package = "ICAMS"))
df <- SimpleReadVCF(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.