View source: R/globalDeletionAA.R
globalDeletionAA | R Documentation |
This function returns an AAStringSet
reduced by all
sites containing any gaps ("-", "+", ".") or missing ("X") sites.
globalDeletionAA(aa)
aa |
|
AAStringSet
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))
#globalDeletionAA(cds2aa(cds1.cds2.aln))
cds1.cds2.aln |> cds2aa() |> globalDeletionAA()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.