error_minimize2 | R Documentation |
This function tunes the final fitting for heterozygous genomes by adjusting the delta values for heterozygous and homozygous regions.
error_minimize2(tooptimize, h_het, h_hom, h_target)
tooptimize |
A numeric vector containing the scale factors to optimize. |
h_het |
A numeric vector representing the raw fitting for the heterozygous region. |
h_hom |
A numeric vector representing the raw fitting for the homozygous region. |
h_target |
A numeric vector representing the target k-mer frequency. |
A numeric value representing the minimized difference.
tooptimize <- c(0.5)
h_het <- rnorm(100)
h_hom <- rnorm(100)
h_target <- rnorm(100)
diff <- error_minimize2(tooptimize, h_het, h_hom, h_target)
print(diff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.