Nothing
#' Accessor Methods for the ClassyFire S4 class
#' @include allClasses.R
#' @include allGenerics.R
#' classification
#' @rdname classification
#' @description Get the `ClassyFire` classification results
#' @param object a `ClassyFire` S4 object
#' @return a `tbl_df` of classifications
#' @export
setMethod('classification', signature = 'ClassyFire',
function(object) {
object@classification
})
#' classification
#' @rdname classification
#' @description Get the `ClassyFire` classification results
#' @param object a `Query` S4 object
#' @return a `tbl_df` of classifications
#' @export
setMethod('classification', signature = 'Query',
function(object) {
object@classification
})
#' meta
#' @rdname meta
#' @description Get the `ClassyFire` meta data
#' @param object a `ClassyFire` S4 object
#' @return a list of meta data
#' @export
setMethod('meta', signature = 'ClassyFire',
function(object) {
object@meta
})
#' meta
#' @rdname meta
#' @description Get the `ClassyFire` meta data
#' @param object a `Query` S4 object
#' @return a list of meta data
#' @export
setMethod('meta', signature = 'Query',
function(object) {
object@meta
})
#' description
#' @rdname description
#' @description Get the `ClassyFire` description
#' @param object a `ClassyFire` S4 object
#' @return a character string of the classification description
#' @export
setMethod('description', signature = 'ClassyFire',
function(object) {
object@description
})
#' description
#' @rdname description
#' @description Get the `ClassyFire` description
#' @param object a `Query` S4 object
#' @return a character string of the classification description
#' @export
setMethod('description', signature = 'Query',
function(object) {
object@description
})
#' chebi
#' @rdname chebi
#' @description Get the predicted ChEBI identifications
#' @param object a `ClassyFire` S4 object
#' @return a character vector of ChEBI terms
#' @export
setMethod('chebi', signature = 'ClassyFire',
function(object) {
object@predicted_chebi
})
#' chebi
#' @rdname chebi
#' @description Get the predicted ChEBI identifications
#' @param object a `Query` S4 object
#' @return a character vector of ChEBI terms
#' @export
setMethod('chebi', signature = 'Query',
function(object) {
object@predicted_chebi
})
#' descriptors
#' @rdname descriptors
#' @description Get the external descriptors
#' @param object a `ClassyFire` S4 object
#' @return a `tbl_df` of available external descriptors
#' @export
setMethod('descriptors', signature = 'ClassyFire',
function(object) {
object@external_descriptors
})
#' descriptors
#' @rdname descriptors
#' @description Get the external descriptors
#' @param object a `Query` S4 object
#' @return a `tbl_df` of available external descriptors
#' @export
setMethod('descriptors', signature = 'Query',
function(object) {
object@external_descriptors
})
#' alternative_parents
#' @rdname alternative_parents
#' @description Get the alternative_parents
#' @param object a `ClassyFire` S4 object
#' @return a `tbl_df` of alternative parents
#' @export
setMethod('alternative_parents', signature = 'ClassyFire',
function(object) {
object@alternative_parents
})
#' alternative_parents
#' @rdname alternative_parents
#' @description Get the alternative_parents
#' @param object a `Query` S4 object
#' @return a `tbl_df` of alternative parents
#' @export
setMethod('alternative_parents', signature = 'Query',
function(object) {
object@alternative_parents
})
#' direct_parent
#' @rdname direct_parent
#' @description Get the direct_parent
#' @param object a `ClassyFire` S4 object
#' @return a list of the direct parent
#' @export
setMethod('direct_parent', signature = 'ClassyFire',
function(object) {
object@direct_parent
})
#' direct_parent
#' @rdname direct_parent
#' @description Get the direct_parent
#' @param object a `Query` S4 object
#' @return a list of the direct parent
#' @export
setMethod('direct_parent', signature = 'Query',
function(object) {
object@direct_parent
})
#' unclassified
#' @rdname unclassified
#' @description Get the identifiers of any inputs that were not classified
#' @param object a `Query` S4 object
#' @return a character string of `inputs` that were not successfully classified
#' @export
setMethod('unclassified', signature = 'Query',
function(object) {
object@unclassified
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.