genomicSimulationC 0.2.6
Data Fields
gsc_SimpleLinkageGroup Struct Reference

Parameters for simulating meiosis on a linkage group whose markers are stored contiguously in the simulation. More...

#include <sim-operations.h>

Data Fields

double expected_n_crossovers
 Expected value of the Poisson distribution from which the number of crossovers in this linkage group will be drawn when simulating meiosis. More...
 
unsigned int n_markers
 The number of markers in this chromosome/linkage group. More...
 
unsigned int first_marker_index
 The index of the first marker in this chromosome/linkage group in the simulation's corresponding gsc_KnownGenome and gsc_AlleleMatrix. More...
 
double * dists
 Array with n_markers entries, containing at position i the distance in centimorgans along the linkage group of the i-th marker, divided by the length of the linkage group in centimorgans. More...
 

Detailed Description

Parameters for simulating meiosis on a linkage group whose markers are stored contiguously in the simulation.

Has short name: SimpleLinkageGroup

Definition at line 687 of file sim-operations.h.

Field Documentation

◆ dists

double* gsc_SimpleLinkageGroup::dists

Array with n_markers entries, containing at position i the distance in centimorgans along the linkage group of the i-th marker, divided by the length of the linkage group in centimorgans.

Effectively, positions of markers when the length of the linkage group is normalised to 1.

Definition at line 697 of file sim-operations.h.

◆ expected_n_crossovers

double gsc_SimpleLinkageGroup::expected_n_crossovers

Expected value of the Poisson distribution from which the number of crossovers in this linkage group will be drawn when simulating meiosis.

Probably corresponds to the length of the chromosome/linkage group in Morgans.

Definition at line 688 of file sim-operations.h.

◆ first_marker_index

unsigned int gsc_SimpleLinkageGroup::first_marker_index

The index of the first marker in this chromosome/linkage group in the simulation's corresponding gsc_KnownGenome and gsc_AlleleMatrix.

Definition at line 695 of file sim-operations.h.

◆ n_markers

unsigned int gsc_SimpleLinkageGroup::n_markers

The number of markers in this chromosome/linkage group.

Their indexes in the simulation's corresponding gsc_KnownGenome and gsc_AlleleMatrix are indexes [ first_marker_index ] to [ first_marker_index + n_markers - 1 ]

Definition at line 692 of file sim-operations.h.


The documentation for this struct was generated from the following file: