Subset: Subset VCF files

Description Usage Arguments

Description

Given a "vcfLink" object, subsets loci/samples to a given vector of sample or site IDs.

Usage

1
2
3
4
5
Subset(object, ...)

## S4 method for signature 'vcfLink'
Subset(object, samples = NULL, sites = NULL,
  verbose = TRUE)

Arguments

object

an object of class "vcfLink"

samples

a character vector containing either positions or names of samples to keep

verbose

print stdout from vcftools?

site

a character vector containing either positions or names of sites to keep


nspope/r2vcftools documentation built on Oct. 10, 2019, 2:06 a.m.