Description Usage Arguments Value Examples
Identify SARS-CoV-2 related mutations based on a single (or a list) of variant(s) file(s)
1 2 3 4 5 6 7 8 9 10 |
vcf_fls |
A character vector of paths to VCF files |
vcf_folder |
A path to a folder containing all VCF files that will be integrated into a single table |
gff3_path |
Path to GFF3 file containing SARS-CoV-2 gene coordinates. |
ref_folder |
A path to a folder containing lineage reports |
voc |
A character vector containing the names of the lineages of interest |
AF_threshold |
A parameter indicating the AF threshold for identifying variants per sample |
file.out.index |
A string index that is going to be contained in the output file names |
print.out |
Logical value indicating if the produced table should be printed. Default value is FALSE. |
A list of three elements;
Variants' table; A data table containing all variants that are included in the input VCF files
Lineage hits; A data table containing identified hits between the input variants and outbreak.info's lineage reports
Lineage report; A data table with computed metrics about the prevalence of the lineage of interest per sample.
1 2 3 4 5 6 7 8 9 10 | results = lineagespot(vcf_folder = system.file("extdata", "vcf-files",
package = "lineagespot"),
gff3_path = system.file("extdata",
"NC_045512.2_annot.gff3",
package = "lineagespot"),
voc = c("B.1.1.7", "B.1.617.2"))
head( results$lineage.report )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.