cat_sorter {genomatic}R Documentation

Sorts categories to their sample

Description

This function takes the output from Genotyper export tables and sorts it into elements of a list where each element includes only one category (locus).

Usage

cat_sorter(gdata)

Arguments

gdata A data.frame which is input from a Genotyper table export.

Details

The output from the Genotyper table export will include one category (locus) per row and will therefore include one sample on many rows. This function reformats this file so that each sample occupies only a single row and has many categores (loci).

Value

Returns a data.frame of scored data.

Author(s)

Brian J. Knaus bknaus@fs.fed.us http://brianknaus.com

References

Knaus, B.J. In prep. Genomatic: an R package for DNA fragment analysis project management.


[Package genomatic version 0.0-7 Index]