Description Usage Arguments Details Author(s) Examples
Processes the gbs object and calculates allele statistics. Returns allele stats, a geno object, and graphs statistics.
1 2 | gbs.summary(hap, geno = F, encoding = c(-1, 0, 1), graph = F, het = "H",
missing = "N")
|
hap |
The gbs object to be processed. |
geno |
A logical value that will convert the marker calls to a numeric geno format. |
encoding |
The numbers used to encode alleles (minor, het, major). |
graph |
A logical value that will output graphs for summary statistics (blank wells, maf, percent present, het, percent het). |
het |
The symbol(s) used for heterozygous calls. |
missing |
The symbol(s) used for missing calls. |
This function checks for and removes any wells that contain "blank" in the sample name, calculates allele counts, percent present, and minor allele frequency, and optionally creates a numeric geno object (stored as hap$geno). The encoding argument can be used to change how the minor, major, and heterozygous alleles are encoded. The het and missing arguments can be a character or vector to allow for multiple matches (e.g. IUPAC het = c("R","Y","S","W","K","M")).
Trevor Rife, trife@ksu.edu
Jesse Poland, jpoland@ksu.edu
1 2 | data(wheat)
hap = gbs.summary(hap,geno=T,graph=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.