genomicSimulationC 0.2.6
|
#include <sim-operations.h>
Data Fields | |
char * | alleles [1000] |
A matrix of SNP markers by lines/genotypes containing pairs of alleles eg TT, TA. More... | |
unsigned int | n_genotypes |
Number of genotypes currently loaded in this matrix. More... | |
unsigned int | n_markers |
Number of markers across which genotypes are tracked. More... | |
char * | names [1000] |
Array of dynamically allocated strings containing the names of the lines/genotypes in this matrix. More... | |
gsc_PedigreeID | ids [1000] |
Unique ID for each genotype. More... | |
gsc_PedigreeID | pedigrees [2][1000] |
Two lists of integer IDs of the parents of this genotype (if tracked), or 0 if we don't know/care. More... | |
gsc_GroupNum | groups [1000] |
Group allocation of each genotype. More... | |
unsigned int | n_labels |
Number of custom labels currently available to this gsc_AlleleMatrix. More... | |
int ** | labels |
Pointer to list of labels. More... | |
gsc_AlleleMatrix * | next |
Pointer to the next gsc_AlleleMatrix in the linked list, or NULL if this entry is the last. More... | |
Definition at line 785 of file sim-operations.h.
char* gsc_AlleleMatrix::alleles[1000] |
A matrix of SNP markers by lines/genotypes containing pairs of alleles eg TT, TA.
Use alleles[genotype index][marker index * 2]
to get the first allele and alleles[genotype index][marker index * 2 + 1]
to get the second. If CONTIG_WIDTH lines are saved here, another gsc_AlleleMatrix is added to the linked list when there's a need to save more.
Definition at line 791 of file sim-operations.h.
gsc_GroupNum gsc_AlleleMatrix::groups[1000] |
Group allocation of each genotype.
Definition at line 804 of file sim-operations.h.
gsc_PedigreeID gsc_AlleleMatrix::ids[1000] |
Unique ID for each genotype.
Definition at line 801 of file sim-operations.h.
int** gsc_AlleleMatrix::labels |
Pointer to list of labels.
Size of first dimension is n_labels, of second dimension is arrays of labels of length CONTIG_WIDTH
Definition at line 809 of file sim-operations.h.
unsigned int gsc_AlleleMatrix::n_genotypes |
Number of genotypes currently loaded in this matrix.
Definition at line 793 of file sim-operations.h.
unsigned int gsc_AlleleMatrix::n_labels |
Number of custom labels currently available to this gsc_AlleleMatrix.
This has redundancy with gsc_SimData and other members of its linked list but it's good to know how big your own labels
array is.
Definition at line 806 of file sim-operations.h.
unsigned int gsc_AlleleMatrix::n_markers |
Number of markers across which genotypes are tracked.
This has redundancy with gsc_SimData and other members of its linked list but it's good to know how big your own alleles
array is.
Definition at line 794 of file sim-operations.h.
char* gsc_AlleleMatrix::names[1000] |
Array of dynamically allocated strings containing the names of the lines/genotypes in this matrix.
Guaranteed to be NULL if they do not have names.
Definition at line 798 of file sim-operations.h.
gsc_AlleleMatrix* gsc_AlleleMatrix::next |
Pointer to the next gsc_AlleleMatrix in the linked list, or NULL if this entry is the last.
Definition at line 812 of file sim-operations.h.
gsc_PedigreeID gsc_AlleleMatrix::pedigrees[2][1000] |
Two lists of integer IDs of the parents of this genotype (if tracked), or 0 if we don't know/care.
Definition at line 802 of file sim-operations.h.