GbsrScheme-class | R Documentation |
GbsrScheme
GBScleanR uses breeding scheme information to set the expected
number of cross overs in a chromosome which is a required parameter
for the genotype error correction with the hidden Markov model
implemented in the estGeno()
function. This class stores those
information including ID of parental samples, type crosses
performed at each generation of breeding and population
sizes of each generation. This class is not exported.
crosstype
A vector of strings indicating the type of crossing done at each generation.
mating
A list of matrices showing combinations member IDs of samples mated.
parents
A vector of member IDs of parents.
progenies
A vector of memeber IDs of progenies produced at each generation.
samples
A vector of member IDs of samples indicating which samples are derived from which pedigrees.
GbsrGenotypeData dnd loadGDS()
.
# `loadGDS()` initialize a `GbsrScheme` object internally and
# attache it to the shceme slot of a [GbsrGenotypeData] object.
# Load data in the GDS file and instantiate
# a [GbsrGenotypeData] object.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
gds <- loadGDS(gds_fn)
# Print the information stored in the `GbsrScheme` object.
showScheme(gds)
# Close the connection to the GDS file.
closeGDS(gds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.