View source: R/supermassa_genotype.R
Runs SuperMassa for multiple markers using doParallel packages Updates OneMap object in genotypes, error probabilitie and marker type Also removes non-informative markers according to SuperMassa genotyping.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
vcfR.object |
object output of the vcfR package |
onemap.object |
object of class onemap |
vcf.par |
Field of VCF that informs the depth of alleles |
parent1 |
parent 1 identification in vcfR object |
parent2 |
parent 2 identification in vcfR objetc |
f1 |
f1 individual identification if f2 cross type |
recovering |
logical defining if markers should be recovered from VCF |
mean_phred |
the mean phred score of the sequencer technology |
cores |
number of threads |
depths |
list containing a matrix for ref and other for alt allele counts, samples ID in colum and markers ID in rows |
global_error |
number from 0 to 1 defining the global error to be considered together with the genotype errors or the genotype probabilities or NULL to not considered any global error |
use_genotypes_errors |
if |
use_genotype_probs |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.