core_plots | R Documentation |
Takes the a mmseq object and plot the size of core, accessory and pan-genome data in the specified points and with the specified number of replicates.
core_plots(
data,
steps = 10,
reps = 10,
threshold = 0.98,
type = "pato",
n_cores
)
data |
A mmseq object. |
steps |
number or vector of points to calculate sizes. |
reps |
number of replicates for each point. |
threshold |
Minimun frequency (0-1) of the core-genome genes/proteins. |
type |
Output in format pato or roary style. |
n_cores |
Number of cores to use. |
A list with a ggplot2 object and a data.frame with the values of the final step.
It's supossed the a gene/protein of the core-genome must be present in all the genomes of the dataset. Nevertheless, by random selection and/or errors in sequencing proccess (sequencing, assembly, ORF finding etc..) some genes/proteins could be missing. pato define the genome as, pangenome (the sum of all genomes), core-genome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.