haplosAlleles2num | R Documentation |
Reformat haplotypes from alleles as string into numeric.
haplosAlleles2num(haplos, alleles, nb.cores = 1)
haplos |
matrix with haplotypes in rows (2 consecutive per genotype) and SNPs in columns |
alleles |
data.frame with SNPs in rows (names as row names) and alleles in 2 columns |
nb.cores |
the number of cores to use, i.e. at most how many child processes will be run simultaneously (not on Windows) |
matrix with 0 for the first-column alleles and 1 for the second-column alleles
Timothee Flutre
segSites2allDoses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.