removeGapCols | R Documentation |
Remove columns in an alignment that contain more than a give proportion of gaps (e.g. A-A, G-G to AA,GG).
removeGapCols( seqs, gapChars = c("*", "-", "."), maxGapProp = 0.9, ignoreChars = c() )
seqs |
a character vector of sequences |
gapChars |
a vector of single characters that count as gaps |
maxGapProp |
remove columns with greater than this proportion of gaps |
ignoreChars |
a vector of single characters that are ignored i.e. count neither as gaps or towards the total sequence count |
A character vector of sequences with gap columns removed
removeGapCols(c('A-A-','A-AA','A-AT','A-AG'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.