vis_loci | R Documentation |
This function takes the list of dataframes output by optimize_m(), optimize_M(), or optimize_n() as input. The function then uses ggplot2 to visualize the effect of the given stacks on the number of polymorphic loci retained, reporting which value is optimal.
vis_loci(output = NULL, stacks_param = NULL)
output |
A list containing 5 dataframes generated by optimize_m() |
stacks_param |
A character string indicating the stacks parameter iterated over |
A plot showing the number of polymorphic loci retained at each given parameter value
vis_loci(output = readRDS(system.file("extdata","optimize.m.output.RDS",package="RADstackshelpR",mustWork=TRUE)), stacks_param = "m")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.