Description Usage Arguments Value Examples
This function finds the max length of sequence for input sequence set
1 | findMaxLen(seqSet)
|
seqSet |
seqSet A set of aligned sequence read from fasta file |
A numeric value of the max length of sequence for seqSet
1 2 3 4 5 6 7 8 9 10 11 | # Example 1: find the max length of a sequence set retrieved from raw data
findpath <- system.file("extdata", "sampleSeq3.txt", package = "conservedPos")
rawSeq <- Biostrings::readBStringSet(findpath,"fasta")
maxL <- findMaxLen(rawSeq)
maxL # 140
# Example 2: find the max length of a sequence set retrieved from data
data(testSeqShort)
testSeq <- testSeqShort
maxL <- findMaxLen(testSeq)
maxL # 37
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.