View source: R/nucleotide_diversity.R
nucleotide diversity by species arguments: * infobold a dataframe with taxonomy+sequence dna information * buffer.Within a dataframe with row as indiv seq and col as rls pts with TRUE/FALSE presence/absence id of sequence infobold within a given buffer around a given rls pts * rls.pts.index index of the RLS pts it calculates * alignment of sequences by species * number of sequences by species * nucleotide diversity it returns a dataframe with taxonomy and nucleotide diversity and number of sequences by species species with not enough sequences to calculate nucleotide diversity are removed
1 2 3 4 5 6 | species_nucleotide_diversity_pts(
rls.pts.index,
infobold,
boldWithinRLS,
MinimumNumberOfSequencesBySpecies
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.