genomicSimulationC 0.2.6
Data Fields
gsc_ReorderedLinkageGroup Struct Reference

Parameters for simulating meiosis on a linkage group whose markers are re-ordered compared to the first recombination map. 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 * marker_indexes
 Array with n_markers entries. More...
 
double * dists
 Array with n_markers entries, containing at position i the distance in centimorgans along the linkage group of marker i divided by the length of the linkage group in centimorgans. More...
 

Detailed Description

Parameters for simulating meiosis on a linkage group whose markers are re-ordered compared to the first recombination map.

Could represent chromosomal inversion, or different allocations of markers to linkage groups.

Has short name: ReorderedLinkageGroup

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

Field Documentation

◆ dists

double* gsc_ReorderedLinkageGroup::dists

Array with n_markers entries, containing at position i the distance in centimorgans along the linkage group of marker i 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 722 of file sim-operations.h.

◆ expected_n_crossovers

double gsc_ReorderedLinkageGroup::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 712 of file sim-operations.h.

◆ marker_indexes

unsigned int* gsc_ReorderedLinkageGroup::marker_indexes

Array with n_markers entries.

Each entry is the index of a marker in the simulation's corresponding gsc_KnownGenome and gsc_AlleleMatrix. This set may represent a different linkage group or different ordering of markers to the default gsc_KnownGenome set. Positions in dists correspond to the markers at the same index in this vector.

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

◆ n_markers

unsigned int gsc_ReorderedLinkageGroup::n_markers

The number of markers in this chromosome/linkage group.

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


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