list.vcffiles: List VCF files in a directory.

Description Usage Arguments Value Author(s)

Description

This function produces a character vector of the names (or paths) of VCF files in the named directory.

Usage

1
list.vcffiles(path = ".", full.names = FALSE, recursive = FALSE)

Arguments

path

A character vector of full path names; the default corresponds to the working directory, getwd(). Tilde expansion (see path.expand) is performed.

full.names

a logical value. If TRUE, the directory path is prepended to the file names to give a relative file path. If FALSE, the file names (rather than paths) are returned.

recursive

logical. Should the listing recurse into directories?

Value

A character vector containing the names of the VCF files in the specified directories, or character(0) if there were no VCF files.

Author(s)

Jonathan Ellis <jonathan.j.ellis@gmail.com>


jjellis/GenomicVis documentation built on May 19, 2019, 11:39 a.m.