Description Usage Arguments Value References Examples
A function that takes regions as input. It will look up the accessionIDs of SARS-COV2 of this region. Then it will retrieve the sequences from NCBI database online and return as a DNAStringSet object.
1 | getSequencesByRegions(regions)
|
regions |
A vector of strings indicating the interested regions in which SARS-COV2 are located that you want to study |
Returns a DNAStringSet with sequences.
H. Pagès, P. Aboyoun, R. Gentleman and S. DebRoy (2020). Biostrings: Efficient manipulation of biological strings. R package version 2.58.0. https://bioconductor.org/packages/Biostrings
Paradis E. & Schliep K. 2019. ape 5.0: an environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics 35: 526-528.
1 2 3 4 5 | # Example 1
# Load MT066156.1 (accessionID of SARS-COV2 in Italy) by
# using "Italy" as input
regions <- c("Italy", "Canada", "USA")
Sequence <- getSequencesByRegions(regions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.