Description Usage Arguments Value Examples
View source: R/signalp_parallel.R
This function combines multiple instances of SignalpResult class, typically generated with parLapply while running signalp predictions in parallel mode.
1 | combine_SpResult(arguments)
|
arguments |
a list of SignalpResult objects to be combined |
SignalpResult object
1 2 3 4 5 6 7 8 9 10 11 12 13 | aa <- readAAStringSet(system.file(
"extdata", "sample_prot_100.fasta", package = "SecretSanta"))
inp2 <- CBSResult(in_fasta = aa[1:10])
inp3 <- CBSResult(in_fasta = aa[20:30])
inp4 <- CBSResult(in_fasta = aa[40:50])
r1 <- signalp(input_obj = inp2, version = 4, organism = 'euk',
run_mode = 'starter')
r2 <- signalp(input_obj = inp3, version = 4, organism = 'euk',
run_mode = 'starter')
r3 <- signalp(input_obj = inp4, version = 4, organism = 'euk',
run_mode = 'starter')
obj <- list(r1, r2, r3)
combined_sp <- combine_SpResult(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.