Description Usage Arguments Value Examples
Estimate the number of meioses and the probabilities of sharing 0, 1 and 2 alleles IBD between pairs.
1 | getIBDparameters(ped.genotypes, number.cores = 1)
|
ped.genotypes |
a named list containing |
number.cores |
the number of cores used for parallel execution. |
A named list containing autosome_parameters and X_chromosome_parameters.
Both autosome_parameters and X_chromosome_parameters are data frames with columns:
Family 1 ID (type "character")
Individual 1 ID (type "character")
Family 2 ID (type "character")
Individual 2 ID (type "character")
The number of meiosis (type "numeric" or "integer")
Probability of sharing 0 alleles IBD (type "numeric")
Probability of sharing 1 allele IBD (type "numeric")
Probability of sharing 2 alleles IBD (type "numeric")
headed fid1, iid1, fid2, iid2, m, ibd0, ibd1 and ibd2, respectively.
Each row describes parameters for a unique pair of samples.
autosome_parameters will be NULL if chromosomes 1-22 are all excluded
from ped.genotypes and X_chromosome_parameters will be NULL if
chromosome 23 is excluded from ped.genotypes.
1 2 3 4 5 | # estimate parameters
my_parameters <- getIBDparameters(ped.genotypes = example_genotypes,
number.cores = 1)
str(my_parameters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.