vcf_merge: Merge vcf files

Description Usage Arguments Value Examples

View source: R/vcf_merge.R

Description

Merge multiple vcf files in a single one

Usage

1

Arguments

...

Character vector. Vcf file must be provided as strings (with full or relative paths).

Value

Data.table/data.frame object with merged vcf files.

Examples

1
2
3
4
5
## Not run: 
vcf_files <- gtools::mixedsort(list.files(path = ".", pattern = "\\.vcf$"))
vcf_merged <- vcf_merge(vcf_files)

## End(Not run)

cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.