combine_SpResult: combine multiple objects of SignalpResult class

Description Usage Arguments Value Examples

View source: R/signalp_parallel.R

Description

This function combines multiple instances of SignalpResult class, typically generated with parLapply while running signalp predictions in parallel mode.

Usage

1
combine_SpResult(arguments)

Arguments

arguments

a list of SignalpResult objects to be combined

Value

SignalpResult object

Examples

 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)

gogleva/SecretSanta documentation built on May 30, 2019, 8:02 a.m.