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

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

grab.pyRAD.locusR Documentation

Extract sequence data for one or a few loci

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

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


andrew-hipp/RADami documentation built on Nov. 9, 2023, 5:40 p.m.