Learn R Programming

mintyr

mintyr is a toolkit for genomic selection in animal breeding with emphasis on multi-breed and multi-trait nested grouping operations. Streamlines iterative analysis workflows when working with ASReml-R package. Includes utility functions for phenotypic data processing commonly used by animal breeders.

Installation

You can install this package from either CRAN or GitHub:

### From CRAN
install.packages("mintyr")
### From GitHub
pak::pak("tony2015116/mintyr")

Cheat sheet

Acknowledgments

Special thanks to AI assistance, particularly ChatGPT and Claude, for helping transform the initial concepts and inspirations for the mintyr package into reality. Their contribution has been invaluable in refining ideas, improving code structure, and crafting documentation.

Copy Link

Version

Install

install.packages('mintyr')

Monthly Downloads

215

Version

0.1.1

License

MIT + file LICENSE

Maintainer

Guo Meng

Last Published

October 13th, 2025

Functions in mintyr (0.1.1)

w2l_split

Reshape Wide Data to Long Format and Split into List
mintyr_example

Get path to mintyr examples
convert_nest

Convert Nested Columns Between data.frame and data.table
get_filename

Extract Filenames from File Paths
export_list

Export List with Advanced Directory Management
import_csv

Flexible CSV/TXT File Import with Multiple Backend Support
export_nest

Export Nested Data Structures with Hierarchical Organization
get_path_segment

Extract Specific Segments from File Paths
format_digits

Format Numeric Columns with Specified Digits
c2p_nest

Column to Pair Nested Transformation
import_xlsx

Import Data from XLSX Files with Advanced Handling
w2l_nest

Reshape Wide Data to Long Format and Nest by Specified Columns
nest_cv

Apply Cross-Validation to Nested Data
mintyr_examples

List all available example files in mintyr package
r2p_nest

Row to Pair Nested Transformation
top_perc

Select Top Percentage of Data and Statistical Summarization
split_cv

Cross-Validation Split Generator