Description Usage Arguments Value References Examples
A function that takes two DNAStringSet and union them into one.
1 | unionDNASets(set1, set2)
|
set1 |
A DNAStringSet contains DNA sequence |
set2 |
A DNAStringSet contains DNA sequence |
Returns a DNAStringSet with sequences contained in set1 and set2.
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 6 | # Example 1
library(Biostrings)
set1 <- Biostrings::DNAStringSet("ATCGATCG")
set2 <- Biostrings::DNAStringSet("ATTTTTTT")
set3 <- Biostrings::DNAStringSet("ATCGATTT")
setTotal <- unionDNASets(set1, set2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.