vcf2df: Return a dataframe object with gene mutation information

Description Usage Arguments Value Author(s) References Examples

View source: R/Import.R

Description

Perform vcf file retrieving using read.vcfR function, result stored in standarlize data.frame for easy usage.

Usage

1
vcf2df(filepath)

Arguments

filepath

The path directed to vcf file on current working directory

Value

Return a data.frame object contain vcf document loaded

Author(s)

Sijie Xu, sijie.xu@mail.utoronto.ca

References

Knaus BJ, Grünwald NJ (2017). “VCFR: a package to manipulate and visualize variant call format data in R." _Molecular Ecology Resources_, *17*(1), 44-53. ISSN 757, <URL: http://dx.doi.org/10.1111/1755-0998.12549>.

Examples

1
2
filePath <- system.file("extdata", "test.vcf", package = "rseAnalysis")
vcf <- vcf2df(filePath)

JackXu2333/dseAnalysis documentation built on Dec. 31, 2020, 1:09 p.m.