GSP {gscramble} | R Documentation |
Example Genomic Simulation Pedigree, GSP, with 13 members
Description
A GSP is a pedigree with no inbreeding which specifies
This is a relatively complex GSP. The tibble GSP
specifies its
structure using the following columns:
-
ind
: the numeric identifier for the individual specific to the row (we will call that the "focal individual"). -
par1
: numeric identifier of the first parent of the focal individual. Must be NA for pedigree founders. -
par2
: numeric identifier of the second parent of the focal individual. Must be NA for pedigree founders. -
ipar1
: the number of gametes that will be incoming from the first parent to the focal individual. Must be NA for pedigree founders. Note that this must be equal toipar2
. -
ipar2
: the number of gametes that will be incoming from the second parent to the focal individual. Must be NA for pedigree founders. Note that this must be equal toipar1
. -
hap1
: character name for the first haplotype of a founder (if the focal individual is a founder). Must be NA for pedigree non-founders. -
hap2
: character name for the second haplotype of a founder (if the focal individual is a founder). Must be NA for pedigree non-founders. -
hpop1
: character ID of the population from which haplotype 1 comes from. Must be NA for pedigree non-founders. -
hpop2
: character ID of the population from which haplotype 2 comes from. Must be NA for pedigree non-founders. -
sample
: character ID for the sample from the focal individual. NA if no samples are taken from the focal individual, and must be NA for any pedigree founders. -
osample
: numeric value giving the number or samples that are taken from this individual.osample
must be less than or equal toipar1
andipar2
. Ifosample
is less thanipar1
andipar2
, then some gametes must get passed on to descendants of the focal individual.
Format
A tibble
Details
The CSV version of this is in extdata/13-member-ped.csv
.
Source
Created by the developers.