Description Usage Arguments Value Examples
View source: R/uniq_variants.R
Lineage report for variants overlapping
1 2 3 4 5 6 | uniq_variants(
hits_table = NULL,
AF_threshold = 0.8,
file.out = paste0("lineage_report_", Sys.Date(), ".txt"),
print.out = FALSE
)
|
hits_table |
A tab-delimited table containing the identified overlaps/hits between the i nput files and the lineages' reports |
AF_threshold |
A parameter indicating the AF threshold that is going to applied in order to identify the presence or not of a variant. This is used to compute the number of variants in a sample and eventually the proportion of a lineage. |
file.out |
Given name for the output file |
print.out |
Logical value indicating if the produced table should be printed |
A data table with metrics assessing the abundance of every lineage in each samples
1 2 3 4 5 6 7 8 9 10 11 12 | variants_table = merge_vcf(vcf_folder = system.file("extdata", "vcf-files",
package = "lineagespot"),
gff3_path = system.file("extdata",
"NC_045512.2_annot.gff3",
package = "lineagespot"))
lineage_hits_table = lineagespot_hits(vcf_table = variants_table,
voc = c("B.1.1.7", "B.1.617.2"))
report = uniq_variants(hits_table = lineage_hits_table)
head(report)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.