View source: R/globalDeletion.R
globalDeletion | R Documentation |
This function returns a DNAStringSet
reduced by all
sites containing any gaps ("-", "+", ".") or missing ("N") sites.
globalDeletion(dna)
dna |
|
DNAStringSet
Kristian K Ullrich
## define two cds sequences
cds1 <- Biostrings::DNAString("ATGCAACATTGC")
cds2 <- Biostrings::DNAString("ATG---CATTGC")
cds1.cds2.aln <- c(Biostrings::DNAStringSet(cds1),
Biostrings::DNAStringSet(cds2))
globalDeletion(cds1.cds2.aln)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.