Description Usage Arguments Value Examples
View source: R/observed_wrapper.R
The function returns a vector containing the lengths of each sequence contained in a set of sequences. Sequences containing 'N' or 'n' are skipped from the analysis and are set to length zero.
1 | lenSequences(seqs)
|
seqs |
A DNAStringSet object |
A vector containing the lengths of each individual sequences
1 2 3 4 5 6 | # Load sequences
file = system.file("extdata", "seq.fasta", package = "motifcounter")
seqs = Biostrings::readDNAStringSet(file)
# Retrieve sequence lengths
motifcounter:::lenSequences(seqs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.