Description Usage Arguments Value Examples
In our analysis we are not interested in loci that only have one allele present within a season. Cutting out such loci helps focus on the important loci and distinctions between samples. This function counts the unique "var" entries in a dataframe according to the set grouping and removes sites that don't meet the cut off.
1 | diverse_sites(df, cutoff, ...)
|
df |
variant data frame |
cutoff |
integer. The allele must be found more than this many times in the groupings below. |
... |
columns to group by. There's no current need for them to be anything but season,chr,pos,pcr_result as this allows us to |
the input data frame but with sites with more alleles than the cut off
1 | diverse_sites(small_isnv,1,season,pcr_result,pos,chr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.