Description Usage Arguments Value Examples
View source: R/motifAnalysis.R
Using regular expressions of SLiMs, find all matches of given SLiM patterns in a given sequence
1 | searchSLiMs(sequence, motifRegex, from = 1, to = nchar(sequence))
|
sequence |
Protein sequence using amino acid alphabet |
motifRegex |
A list object where names of the list are ELM identifiers and each list item has one ELM regex |
from |
integer value (default: 1) where to start the search for patterns |
to |
integer value (default: length of input sequence) where to end the search |
A vector of motif hits with the syntax: <MotifIdentifier>:<start position in sequence>:<end position in sequence> e.g.: TRG_ENDOCYTIC_2:333:340
1 2 3 4 | glutFastaFile <- system.file("extdata", "glut.fasta", package = 'slimR')
glutFasta <- Biostrings::readAAStringSet(glutFastaFile)
slims <- searchSLiMs(paste(glutFasta), slimR::motifRegex)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.