solution_accuracy.pipeline | R Documentation |
At each position, plot the pileup frequency for a given nucleotide against the predicted frequency based on the RegressHaplo solution
solution_accuracy.pipeline( out_dir, solution, nucs = c("A", "C", "G", "T"), variable_positions = NULL, plot = T )
out_dir |
output directory with RegressHaplo files |
solution |
solution number |
variable_positions |
a numeric vector giving the variable positions to include. If NULL, then all variable positions are included (returned by get_variable_positions.pipeline) |
plot |
should the frequencies be plotted? |
nuc |
which nucleotide shoud be analyzed, one of "A", "C", "G", "T", "d", "i" |
a data.frame giving the true and predicted frequency at each position, nucleotide combination and a ggplot object of the frequencies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.