R/get_bare_mixture.R

Defines functions get_bare_mixture

get_bare_mixture <- function(annotated_mixture){
  idx <- annotated_mixture$HeightAtOrAboveDetectionThreshold

  data.frame(Locus = annotated_mixture$Marker[idx],
             Allele = annotated_mixture$Allele[idx],
             Height = as.integer(round(annotated_mixture$Height[idx],digits = 0)),
             Size = round(annotated_mixture$Size[idx],2))
}

Try the simDNAmixtures package in your browser

Any scripts or data that you put into this service are public.

simDNAmixtures documentation built on April 15, 2025, 1:11 a.m.