Nothing
#' datasetType Generic
#'
#' A generic for retrieving the dataset type of an rSet object
#'
#' @examples
#' data(clevelandSmall_cSet)
#' datasetType(clevelandSmall_cSet)
#'
#' @param object A \code{CoreSet} from which to retrieve the dataset type
#' @param ... A \code{list} containing fall through arguments; this allows
#' addition of new parameters to methods for this generic
#'
#' @return A \code{character} vector containing the dataset tpye
#'
#' @export
setGeneric("datasetType", function(object, ...) standardGeneric("datasetType"))
#'
#' @inheritParams datasetType
#' @describeIn CoreSet Update the dataset type of an rSet and return a copy of
#' the updated object
#'
#' @export
setMethod("datasetType", signature("CoreSet"), function(object) {
##TODO:: Add error handling to this function
object@datasetType
})
##TODO:: Export this to CoreGx
#' datasetType<- Replacement Generic
#'
#' A generic for updating the dataset type of a RadioSet object
#'
#' @examples
#' data(clevelandSmall_cSet)
#' datasetType(clevelandSmall_cSet)
#'
#' @param object A \code{RadioSet} from which to retrieve the dataset type
#' @param value A \code{character} vector containing the dataset type
#'
#' @return A \code{character} vector containing the dataset tpye
#'
#' @export
setGeneric("datasetType<-", function(object, value) standardGeneric("datasetType<-"))
#' @inheritParams datasetType<-
#' @describeIn CoreSet Update the dataset type of an rSet and return a copy of
#' the updated object
#' @export
setReplaceMethod("datasetType", signature("CoreSet"), function(object, value) {
##TODO:: Add error handling to this function
object@datasetType <- value
object
})
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.