Description Usage Arguments Details Value Author(s) Examples
Read a file or data frame to create a gbs object
1 | hap.read(hap.obj, delim = "\t", data.col)
|
delim |
The delimter used in the file(s). |
data.col |
The column number for the first line or individual. |
hap |
A hap file or folder containing hap file(s). |
This function creates a gbs object from hap file(s) or a data frame. The gbs object contains a data frame representing the header columns, a data frame representing the genotypic calls, an empty geno data frame, and an empty stats data frame. Both the geno and stats data frames are created with the gbs.summary
function. If a folder is passed to hap.read
, hap.join
is called to merge all files within the folder and remove duplicate tags.
A gbs object.
Trevor Rife, trife@ksu.edu
Narinder Singh, nss470@ksu.edu
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.