create_artificial_genomeadmixr_data {GenomeAdmixR}R Documentation

function to generate artificial genomeadmixr_data

Description

function to generate artificial genomeadmixr_data

Usage

create_artificial_genomeadmixr_data(
  number_of_individuals,
  marker_locations,
  used_nucleotides = 1:4,
  nucleotide_frequencies = NA
)

Arguments

number_of_individuals

number of individuals

marker_locations

location of markers, either in bp or Morgan

used_nucleotides

subset or full set of [1/2/3/4] (reflecting a/c/t/g)

nucleotide_frequencies

frequencies of the used nucleotides, if not provided, equal frequencies are assumed.

Value

genomeadmixr_data object ready for simulate_admixture_data


[Package GenomeAdmixR version 2.1.7 Index]