Learn R Programming

acoRn

acoRn an open-source R package designed for exclusion-based parentage assignment. Utilizing the principles of Mendelian segregation, acoRn analyzes multilocus genotype data from potential parents and offspring to identify likely parentage relationships, while accommodating genotyping errors, missing data, and duplicate genotypes.

Installation

acoRn can be easily installed through GitHub as follows:

# install.packages("remotes")
library(remotes)
install_github("npechl/acoRn")

Usage

Synthetic genotype data generation

# load acoRn
library(acoRn)

# create mock parents dataset
parents <- create_mock_parents()

# create mock progeny dataset
offspring <- create_mock_progeny(p[[1]], fparents = 5, mparents = 5, prog = 5)

Parental assignment

# load acoRn
library(acoRn)

# example datasets
data("parents")
data("offspring")

# run acoRn
r <- acoRn(parents, offspring)

head(r)

Copy Link

Version

Install

install.packages('acoRn')

Monthly Downloads

386

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Nikos Pechlivanis

Last Published

October 2nd, 2024

Functions in acoRn (0.1.0)

parents

Tree parents data set
acoRn

acoRn workflow
exclude_duplicates

Report duplicates
create_mock_parents

Title
find_parents

Identify relationships between parents and progenies
clean_input

Title
identify_duplicates

Identify duplicates in genotypes (i.e. parents or progenies)
create_mock_progeny

Title
offspring

Tree progeny data set