Description Usage Arguments Value Author(s) See Also Examples
Counts the number of terminal characters for every sequence in an XStringSet
. Terminal characters are defined as a specific character repeated at the beginning and end of a sequence.
1 2 | TerminalChar(myXStringSet,
char = "")
|
myXStringSet |
An |
char |
A single character giving the terminal character to count, or an empty character ("") indicating to count both gap ("-") and unknown (".") characters. |
A matrix
containing the results for each sequence in its respective row. The first column contains the number of leading char
, the second contains the number of trailing char
, and the third contains the total number of characters in-between.
Erik Wright eswright@pitt.edu
1 2 3 | db <- system.file("extdata", "Bacteria_175seqs.sqlite", package="DECIPHER")
dna <- SearchDB(db)
t <- TerminalChar(dna)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.