genomicSimulationC 0.2.6
Data Fields
gsc_KnownGenome Struct Reference

A type that stores the genome structure used in simulation. More...

#include <sim-operations.h>

+ Collaboration diagram for gsc_KnownGenome:

Data Fields

unsigned int n_markers
 The total number of markers. More...
 
char ** marker_names
 A vector of n_markers strings containing the names of markers, ordered according to their index in an AlleleMatrix. More...
 
char *** names_alphabetical
 A vector of n_markers pointers to names in marker_names, ordered in alphabetical order of the names. More...
 
unsigned int n_maps
 The number of recombination maps currently stored. More...
 
gsc_MapIDmap_ids
 A vector of n_maps identifiers for each of the recombination maps currently stored. More...
 
gsc_RecombinationMapmaps
 A vector of n_maps recombination maps, to use for simulating meiosis. More...
 

Detailed Description

A type that stores the genome structure used in simulation.

Has short name: KnownGenome

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

Field Documentation

◆ map_ids

gsc_MapID* gsc_KnownGenome::map_ids

A vector of n_maps identifiers for each of the recombination maps currently stored.

These IDs correspond to the map in the corresponding position in the vector maps.

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

◆ maps

gsc_RecombinationMap* gsc_KnownGenome::maps

A vector of n_maps recombination maps, to use for simulating meiosis.

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

◆ marker_names

char** gsc_KnownGenome::marker_names

A vector of n_markers strings containing the names of markers, ordered according to their index in an AlleleMatrix.

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

◆ n_maps

unsigned int gsc_KnownGenome::n_maps

The number of recombination maps currently stored.

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

◆ n_markers

unsigned int gsc_KnownGenome::n_markers

The total number of markers.

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

◆ names_alphabetical

char*** gsc_KnownGenome::names_alphabetical

A vector of n_markers pointers to names in marker_names, ordered in alphabetical order of the names.

For speeding up functions involving loading new genetic maps, or observing genotypes at particular markers.

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


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