WolfResult_methods: accessor functions for objects of WolfResult S4 class,...

Description Usage Arguments Value Slots Examples

Description

accessor functions for objects of WolfResult S4 class, outputs of the wolf prediction step

accessors for WolfResult objects

Usage

1
2
3
4
5
6
7
setWOLFtibble(theObject, wolf_tibble)

## S4 method for signature 'WolfResult'
setWOLFtibble(theObject, wolf_tibble)

## S4 method for signature 'WolfResult'
getWOLFtibble(theObject)

Arguments

theObject

an object of WolfResult class

wolf_tibble

parsed output of wolfpsort in tabular format

Value

WolfResult object

Slots

wolf_tibble

tibble with outputs obtained from wolfpsort

  • gene_id - unique sequence id

  • localization - the most probable localization

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(Biostrings)
aa <- readAAStringSet(system.file("extdata","sample_prot_100.fasta",
package = "SecretSanta"))
inp <- CBSResult(in_fasta = aa[1:10])
s1_sp2 <- signalp(inp, version = 2, organism = 'euk',
run_mode = "starter", legacy_method = 'hmm')
w <- wolfpsort(s1_sp2, 'fungi')
class(w)
#access result tibble:
getWOLFtibble(w)
#acess in_fasta and out_fasta slots:
getInfasta(w)
getOutfasta(w)

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