Description Usage Arguments Value Examples
This function summarize the results from regex.search
or hmm.search
.
1 | effector.summary(hmm.result, motif = "RxLR", reg.pat = NULL)
|
hmm.result |
A list of |
motif |
A character string indicating the motif of interest. Motifs for two cytoplasmic effectors are added to the function: |
reg.pat |
A character string indicating the REGEX pattern for the |
A list of two objects: Summary motif table and non-redundant sequences (only with results of hmm.search
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
fasta.file <- system.file("extdata", "test_infestans.fasta", package = "effectR")
ORF <- seqinr::read.fasta(fasta.file)
REGEX <- regex.search(ORF, motif='RxLR')
candidate.rxlr <- hmm.search(original.seq = fasta.file, regex.seq=REGEX, num.threads = 2)
effector.summary(candidate.rxlr)
# Custom motifs
reg.pat <- "^\\w{50,60}[w,v]"
REGEX <- regex.search(sequence = ORF, motif = "custom", reg.pat = reg.pat)
candidate.custom <- hmm.search(original.seq = fasta.file, regex.seq = REGEX)
effector.summary(candidate.custom, motif = "custom", reg.pat = reg.pat)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.