##----------------------------------------------------------------------------##
## All classes
##----------------------------------------------------------------------------##
#' @import methods
#' @importFrom S4Vectors setValidity2 new2
#' @importClassesFrom S4Vectors character_OR_NULL
NULL
##----------------------------------------------------------------------------##
## Virtual classes
#' @importClassesFrom S4Vectors SimpleList
#' @importClassesFrom S4Vectors List
#' @importFrom S4Vectors List
setClass("NamedList", contains = c("VIRTUAL", "SimpleList"))
##----------------------------------------------------------------------------##
## TxpTransFunc
#' @rdname TxpTransFunc-class
#' @exportClass TxpTransFunc
setClass("TxpTransFunc", contains = "function", prototype = function(x) x)
setClassUnion("TxpTransFunc_OR_NULL", members = c("TxpTransFunc", "NULL"))
##----------------------------------------------------------------------------##
## TxpTransFuncList
#' @rdname TxpTransFuncList-class
#' @exportClass TxpTransFuncList
setClass("TxpTransFuncList",
contains = "SimpleList",
prototype = prototype(elementType = "TxpTransFunc_OR_NULL"))
##----------------------------------------------------------------------------##
## TxpSlice
#' @rdname TxpSlice-class
#' @exportClass TxpSlice
setClass("TxpSlice",
slots = c(txpValueNames = "character",
txpTransFuncs = "TxpTransFuncList"))
setClassUnion("TxpSlice_OR_NULL", members = c("TxpSlice", "NULL"))
##----------------------------------------------------------------------------##
## TxpSliceList
#' @rdname TxpSliceList-class
#' @importClassesFrom S4Vectors SimpleList
#' @exportClass TxpSliceList
setClass("TxpSliceList",
contains = "NamedList",
prototype = prototype(elementType = "TxpSlice"))
##----------------------------------------------------------------------------##
## TxpModel
#' @rdname TxpModel-class
#' @exportClass TxpModel
setClass("TxpModel",
slots = c(txpSlices = "TxpSliceList",
txpWeights = "numeric",
txpTransFuncs = "TxpTransFuncList"))
setClassUnion("TxpModel_OR_NULL", members = c("TxpModel", "NULL"))
##----------------------------------------------------------------------------##
## TxpModelList
#' @rdname TxpModelList-class
#' @importClassesFrom S4Vectors SimpleList
#' @exportClass TxpModelList
setClass("TxpModelList",
contains = "SimpleList",
prototype = prototype(elementType = "TxpModel"))
##----------------------------------------------------------------------------##
## TxpResultParam
#' @name TxpResultParam-class
#' @exportClass TxpResultParam
setClass("TxpResultParam",
slots = c(rank.ties.method = "character",
negative.value.handling = "character"))
##----------------------------------------------------------------------------##
## TxpResult
#' @name TxpResult-class
#' @exportClass TxpResult
setClass("TxpResult",
slots = c(txpScores = "numeric",
txpSliceScores = "matrix",
txpRanks = "numeric",
txpMissing = "numeric",
txpModel = "TxpModel",
txpIDs = "character_OR_NULL",
txpResultParam = "TxpResultParam"))
setClassUnion("TxpResult_OR_NULL", members = c("TxpResult", "NULL"))
##----------------------------------------------------------------------------##
## TxpResultList
#' @rdname TxpResultList-class
#' @importClassesFrom S4Vectors SimpleList
#' @exportClass TxpResultList
setClass("TxpResultList",
contains = "SimpleList",
prototype = prototype(elementType = "TxpResult"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.