scripts/prob_base.R

function(Qscore, count, offset){
  pb <- 1-(10^(-(Qscore-offset)/10))
  prob_count <- sum(pb*count)
  return(prob_count)
}
lawremi/VariantTools documentation built on March 4, 2024, 11:54 a.m.