Learn R Programming

coala (version 0.1.1)

feat_unphased: Feature: Unphased

Description

This simulated unphased data by creating "pseudo-chromosomes". For these, each position is randomly taken from a phased chromosome obtained by simulation.

Usage

feat_unphased(ploidy, samples_per_ind = ploidy)

Arguments

ploidy
The number of phased chromosomes that are simulated per individual.
samples_per_ind
The number of pseudo-chromosomes that are created from the phased chromosomes for each individual.

Value

  • The feature, which can be added to a model using `+`.

Details

If this is used, the sample size is understood as the number of individuals. For each individual, poidy chromosomes are simulated, and samples_per_ind pseudo-chromosomes are created of these.