Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

README

This package is currently under development. A manuscript detailing its use and the theory behind its operation is in preparation.

'AlphaSimR' is available on both CRAN and Bitbucket. The most recent version will be on Bitbucket and it can be downloaded and installed using the 'devtools' library and the following command: devtools::install_bitbucket("hickeyjohnteam/AlphaSimR")

Installing from Bitbucket requires the following libraries: 'R6', 'Rcpp', 'RcppArmadillo', and 'BH'.

Copy Link

Version

Install

install.packages('AlphaSimR')

Monthly Downloads

1,482

Version

0.8.2

License

MIT + file LICENSE

Maintainer

Chris Gaynor

Last Published

October 15th, 2018

Functions in AlphaSimR (0.8.2)

HybridPop-class

Hybrid population
RRDsol-class

RR-BLUP Solution with Dominance
RRsol-class

RR-BLUP Solution
SimParam_addTraitAD

Add additive and dominance traits
SimParam_addTraitADG

Add an additive and dominance GxE trait
SimParam_setTrackRec

Set recombination tracking
SimParam_setVarE

Set simulation error variance
RRBLUPMemUse

RRBLUP Memory Usage
SimParam_switchGenMap

Switch genetic map
RRBLUP_D

RR-BLUP Model with Dominance
SimParam_switchMaleMap

Switch male genetic map
SimParam_new

Create new simulation
SimParam_manAddTrait

Manually add trait
dd

Dominance deviations
SimParam_setRecRatio

Set gender specific recombination
AlphaSimR-package

AlphaSimR: Breeding Program Simulations
RRBLUP_GCA

RR-BLUP GCA Model
ebv

Estimated breeding value
GCAsol-class

RR-BLUP GCA Solution
newPop

Create new Population
RRBLUP_SCA

RR-BLUP SCA Model
pedigreeCross

Pedigree cross
pullMultipleSnpHaplo

Pull SNP haplotypes for multiple chips
MapPop-class

Raw population with genetic map
RawPop-class

Raw Population
SimParam_switchSnpChip

Switch SNP chip
SimParam_setTrackPed

Set pedigree tracking
pullQtlGeno

Pull QTL genotype
Pop-class

Population
SCAsol-class

RR-BLUP SCA Solution
SimParam_addStructuredSnpChips

Add Structured SNP chips
SimParam_removeTrait

Remove trait
SimParam_rescaleTraits

Rescale traits
SimParam_addTraitAG

Add additive GxE traits
SimParam_manAddSnpChip

Manually add SNP chip
pullSnpHaplo

Pull SNP haplotypes
SimParam_resetPed

Reset pedigree
SimParam_addTraitA

Add additive traits
quickHaplo

Quick founder haplotype simulation
setPhenoGCA

Set GCA as phenotype
SimParam_switchTrait

Switch trait
varA

Additive variance
smithHazel

Calculate Smith-Hazel weights
genParam

Sumarize genetic parameters
SimParam_restrSegSites

Restrict segregating sites
SimParam_setCorE

Set correlated error variance
genicVarA

Additive genic variance
makeCross

Make designed crosses
bv

Breeding value
SimParam_setGender

Set gender in simulation
makeCross2

Make designed crosses
pheno

Phenotype
TraitA-class

Additive trait
RRBLUP

RR-BLUP Model
RRBLUP2

RR-BLUP Model 2
SimParam

Simulation parameters
varD

Dominance variance
TraitAD-class

Additive and dominance trait
SimParam_addSnpChip

Add SNP chip
popVar

Population variance
genicVarD

Dominance genic variance
editGenome

Edit genome
genicVarG

Total genic variance
calcGCA

Calculate GCA
gv

Genetic value
setEBV

Set EBV
resetPop

Reset population
runMacs

Create founder haplotypes using MaCS
selectWithinFam

Select individuals within families
SimParam_removeFounderPop

Remove founder population
SimParam_removeSnpChip

Remove SNP chip
self

Self individuals
SimParam_switchFemaleMap

Switch female genetic map
hybridCross

Hybrid crossing
nInd

Number of individuals
setPheno

Set phenotypes
writePlink

Writes a Pop-class as PLINK files
writeRecords

Write data records
editGenomeTopQtl

Edit genome - the top QTL
SimParam_switchFounderPop

Switch founder population
meanP

Mean phenotypic values
mergePops

Merge list of populations
pullQtlHaplo

Pull QTL haplotypes
TraitADG-class

Additive, dominance and GxE trait
pullSegSiteGeno

Pull seg site genotypes
runMacs2

Alternative wrapper for MaCS
sampleHaplo

Sample haplotypes from a MapPop
selectInd

Select individuals
selectOP

Select open pollinating plants
trackHaploPop

Haplotype tracking population
TraitAG-class

Additive and GxE trait
makeDH

Generates DH lines
newMapPop

New MapPop
meanG

Mean genetic values
pullSegSiteHaplo

Pull seg site haplotypes
usefulness

Usefulness criterion
pullIbdHaplo

Pull Identity By Descent (IBD) haplotypes
pullMultipleSnpGeno

Pull SNP genotype for multiple snp chips
selIndex

Selection index
pullSnpGeno

Pull SNP genotype
selInt

Selection intensity
varG

Total genetic variance
varP

Phenotypic variance
randCross

Make random crosses
randCross2

Make random crosses
selectCross

Select and randomly cross
selectFam

Select families
LociMap-class

Loci metadata