Description Usage Arguments Value Examples
View source: R/targetp_parallel.R
This function combines multiple instances of TargetpResult class, typically generated with parLapply when running targetp in parallel mode.
1 | combine_TpResult(arguments)
|
arguments |
a list of TargetpResult objects to be combined. |
TargetpResult object
1 2 3 4 5 6 7 8 9 10 | 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])
tp1 <- targetp(input_obj = inp2, network = 'N', run_mode = 'starter')
tp2 <- targetp(input_obj = inp3, network = 'N', run_mode = 'starter')
tp3 <- targetp(input_obj = inp4, network = 'N', run_mode = 'starter')
obj <- list(tp1, tp2, tp3)
combined_tp <- combine_TpResult(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.