GetResultsObj: Get a Results Object

Description Usage Arguments Details Value Examples

View source: R/GetResultsObj.R

Description

Gets and returns the results object for a specific strain-gene source combo

Usage

1
GetResultsObj(strainID, geneSource = "Prodigal")

Arguments

strainID

Character string corresponding to the strain identifier.

geneSource

Character string corresponding to the gene source.

Details

GetDataMapObj returns an object of class Assessment and subclass Results corresponding to the given strain ID and the given gene source. The given strain ID must be a part of the AssessORF set, and there is no partial matching. Otherwise, the function will error. The given gene source must also be a part of the AssessORF set, but the function ignores case when checking if the given gene source is a part of the set.

Value

An object of class Assessment and subclass Results

Examples

1
2
3
4
resObj1 <- GetResultsObj("MGAS5005", "Prodigal")
resObj2 <- GetResultsObj("MGAS5005", "Genbank")
resObj3 <- GetResultsObj("MGAS5005", "GeneMarkS2")
resObj4 <- GetResultsObj("MGAS5005", "Glimmer")

DRK248/AssessORFData documentation built on Oct. 26, 2018, 12:31 a.m.