View source: R/count.recombinations.per.genome.R
count.rec.events.per.genome | R Documentation |
This function reads a GFF file or data frame containing identified recombination events in the genome identified by Gubbins, and counts the frequency of recombination events at each genomic position i.e. number of unique overlapping recombination events. The data frame can be generated using the "load.gubbins.rec.events.gff" function
count.rec.events.per.genome( gubbins.gff.file, recom.input.type = "Gubbins", taxon.names )
gubbins.gff.file |
Path to the input Gubbins GFF recombination file or data frame |
recom.input.type |
Type of input recombination data, either "Gubbins" GFF or "BRATNextGen" tabular data. |
taxon.names |
Vector containing taxon names. |
A data frame containing number of unique recombination events at genomic positions where recombination events were identified
Chrispin Chaguza, Chrispin.Chaguza@gmail.com
https://github.com/ChrispinChaguza/RCandy
## Not run: Read genome in GFF formatted file (generated usign readseq) and plot the genomic features This function may take some minutes to finish depending on the number of recombination events identifiedand genome size gubbins.gff<-system.file("extdata", "ST320.recombination_predictions.gff", package = "RCandy",mustWork = TRUE) rec.freq<-count.rec.events.per.base(gubbins.gff) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.