| ReadVCF | R Documentation |
Read in the data lines of a Variant Call Format (VCF) file
ReadVCF( file, variant.caller = "unknown", name.of.VCF = NULL, tumor.col.name = NA, filter.status = NULL, get.vaf.function = NULL, ... )
file |
The name/path of the VCF file, or a complete URL. |
variant.caller |
Name of the variant caller that produces the VCF, can
be either |
name.of.VCF |
Name of the VCF file. If |
tumor.col.name |
Optional. Only applicable to Mutect VCF. Name
of the column in Mutect VCF which contains the tumor sample
information. It must have quotation marks. If
|
filter.status |
The status indicating a variant has passed all filters.
An example would be |
get.vaf.function |
Optional. Only applicable when |
... |
Optional arguments to |
num.of.cores |
The number of cores to use. Not available on Windows
unless |
A data frame storing data lines of the VCF file with two additional columns added which contain the VAF(variant allele frequency) and read depth information.