Description Usage Arguments Value Slots Examples
accessor functions for objects of CBSResult
S4 class, minimal parent class for
SecretSanat outputs
accessors for CBSResult objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | setInfasta(theObject, in_fasta)
## S4 method for signature 'CBSResult'
setInfasta(theObject, in_fasta)
## S4 method for signature 'CBSResult'
getInfasta(theObject)
## S4 method for signature 'CBSResult'
setOutfasta(theObject, out_fasta)
## S4 method for signature 'CBSResult'
getOutfasta(theObject)
## S4 method for signature 'CBSResult'
getFastas(theObject)
|
theObject |
|
in_fasta |
input fasta, AAStringSet object |
out_fasta |
output fasta, AAStringSet object |
CBSResult object
in_fasta
initial fasta file
out_fasta
output fasta file with only positive candidates, i.e those that passed tool filters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(Biostrings)
# read fasta file in AAStringSet object
aa <- readAAStringSet(system.file("extdata","sample_prot_100.fasta",
package = "SecretSanta"))
# create an instance of CBSResult class:
cbs <- CBSResult( in_fasta = aa, out_fasta = aa)
# check that CBSResult instance is valid
validObject(cbs)
# extract in_fasta attribute
getInfasta(cbs)
# extract out_fasta attribute
getOutfasta(cbs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.