Description Usage Arguments Value
Internal
1 2 3 4 5 6 7 | assign_allele(
dat,
depth_thres = 1,
freq_thres = 0.5,
sequence = FALSE,
na_rm = TRUE
)
|
dat |
A data.frame or tibble |
depth_thres |
depth_threshold |
freq_thres |
freq_threshold |
sequence |
Should the actual nucleodites be returned? If FALSE the allele column will contain 'major' or 'minor'. If TRUE, the allele column will contain the actual nucleotide |
na_rm |
Should sites from samples that could not be assigned be returned? |
Same tibble as dat but with an allele column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.