fasta2struc: fasta2struc

Description Usage Arguments Value Author(s)

View source: R/fasta2strc.R

Description

THIS SCRIPT PULLS OUT A RANDOM SNP FROM THE ALIGNMENTS TO MAKE A STRUCTURE FILE.

Usage

1
fasta2struc(path, samples2include, write.output = TRUE)

Arguments

path

path to the directory where all fasta alignments are.

samples2include

one column data frame with the name of the samples to include in the first column.

write.output

logical. If TRUE writes the structure file to working directory.

Value

Structure-like genotype matrix.

Author(s)

Gehara, M.


gehara/Junkyardtools documentation built on Nov. 4, 2019, 1:04 p.m.