pbgeno is an R package to streamline plant breeding data analysis and visualization. It provides functions to easily generate publication-quality tables and figures for genotype datasets.
You can install the latest version of pbgeno from GitHub:
#install.packages("devtools")
devtools::install_github("Allan-gitrepos/pbgeno")
pbgeno contains functions for common plant breeding workflows:
library(pbgeno)
# Jaccard distance matrix
dists <- ggtree_jaccard(Jaccard_example)
# Polymorphism information content
results <- pic_calc(PIC_example)
# Convert structure foramt to tassel format data
tassel_data <- str2tassel(Structure_example, metadata)
pbgeno contains some example genotype and phenotype datasets:
Jaccard_example
: SSR markers data for calculating jaccard distancesPIC_example
: SSR marker data for calculating PIC_valuesStructure_example
: SSR marker data example in structure formatmetadata
: Meta data for the tassel data.
ggtree_jaccard
- Generate Jaccard distance matrixpic_calc
- Calculate PIC value for each markerstr2tassel
- Converts Structure format data to tassel hapmap format
If you encounter any issues or bugs with pbgeno, please file an issue on the GitHub repository. Ideas for package improvements and contributions are also welcome!