supermassa_genotype: Runs SuperMassa for multiple markers using doParallel...

Description Usage Arguments

View source: R/supermassa_genotype.R

Description

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.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
supermassa_genotype(
  vcfR.object = NULL,
  onemap.object = NULL,
  vcf.par = c("AD", "DPR"),
  parent1 = "P1",
  parent2 = "P2",
  f1 = NULL,
  recovering = FALSE,
  mean_phred = 20,
  cores = 2,
  depths = NULL,
  global_error = NULL,
  use_genotypes_errors = TRUE,
  use_genotypes_probs = FALSE,
  rm_multiallelic = TRUE
)

Arguments

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 TRUE the error probability of each genotype will be considered in emission function of HMM

use_genotype_probs

if TRUE the probability of each possible genotype will be considered in emission function of HMM


Cristianetaniguti/genotyping4onemap documentation built on Aug. 26, 2020, 10:32 a.m.