grab.pyRAD.locus: Extract sequence data for one or a few loci

Description Usage Arguments Value Author(s)

View source: R/grab.pyRAD.locus.R

Description

This function is pretty rudimentary and I've used it but little. As much as anything, it's a reminder for how to get sequence data out of a pyRAD.loci object.

Usage

1
2
grab.pyRAD.locus(pyDat, locName,
  dat.format = c("text", "fasta", "matrix"))

Arguments

pyDat

an object of class pyRAD.loci

locName

character name of the locus or loci you want

dat.format

currently takes text, fasta, or matrix, but the fasta format would still need to be written to a file

Value

A named character vector if dat.format is 'text' or 'fasta', otherwise a matrix

Author(s)

Andrew Hipp


RADami documentation built on May 30, 2017, 8:23 a.m.