ssgseaParam-class | R Documentation |
ssgseaParam
classS4 class for ssGSEA method parameter objects.
Objects of class ssgseaParam
contain the parameters for
running the ssGSEA
method.
## S4 method for signature 'gsvaParam'
anyNA(x, recursive = FALSE)
ssgseaParam(
exprData,
geneSets,
assay = NA_character_,
annotation = NULL,
minSize = 1,
maxSize = Inf,
alpha = 0.25,
normalize = TRUE,
checkNA = c("auto", "yes", "no"),
use = c("everything", "all.obs", "na.rm")
)
## S4 method for signature 'ssgseaParam'
anyNA(x, recursive = FALSE)
x |
An object of class |
recursive |
Not used with |
exprData |
The expression data set. Must be one of the classes
supported by |
geneSets |
The gene sets. Must be one of the classes supported by
|
assay |
Character vector of length 1. The name of the assay to use in
case |
annotation |
An object of class If the default value |
minSize |
Numeric vector of length 1. Minimum size of the resulting gene sets after gene identifier mapping. By default, the minimum size is 1. |
maxSize |
Numeric vector of length 1. Maximum size of the resulting gene
sets after gene identifier mapping. By default, the maximum size is |
alpha |
Numeric vector of length 1. The exponent defining the
weight of the tail in the random walk performed by the |
normalize |
Logical vector of length 1; if |
checkNA |
Character vector of length 1 specifying whether the input
expression data should be checked for the presence of missing ( |
use |
Character vector of length 1 specifying a policy for dealing with
missing values ( |
In addition to the common parameter slots inherited from
[GsvaMethodParam]
, this class has slots for the two method-specific
parameters of the ssGSEA
method described below as well as four more slots
for implementing a missing value policy.
In addition to a number of parameters shared with all methods
implemented by package GSVA, ssGSEA
takes two method-specific parameters as
well as two more parameters for implementing a missing value policy. All of
these parameters are described in detail below.
A new ssgseaParam
object.
alpha
Numeric vector of length 1. The exponent defining the weight of the tail in the random walk performed by the ssGSEA (Barbie et al., 2009) method.
normalize
Logical vector of length 1. If TRUE
runs the ssGSEA
method from Barbie et al. (2009) normalizing the scores by the absolute
difference between the minimum and the maximum, as described in their paper.
Otherwise this final normalization step is skipped.
checkNA
Character vector of length 1. One of the strings "auto"
(default), "yes"
, or "no"
, which refer to whether the input expression
data should be checked for the presence of missing (NA
) values.
didCheckNA
Logical vector of length 1, indicating whether the input
expression data was checked for the presence of missing (NA
) values.
anyNA
Logical vector of length 1, indicating whether the input
expression data contains missing (NA
) values.
use
Character vector of length 1. One of the strings "everything"
(default), "all.obs"
, or "na.rm"
, which refer to three different policies
to apply in the presence of missing values in the input expression data; see
ssgseaParam
.
Barbie, D.A. et al. Systematic RNA interference reveals that oncogenic KRAS-driven cancers require TBK1. Nature, 462(5):108-112, 2009. DOI
GsvaExprData
,
GsvaGeneSets
,
GsvaMethodParam
,
plageParam
,
zscoreParam
,
gsvaParam
library(GSVA)
library(GSVAdata)
data(leukemia)
data(c2BroadSets)
## for simplicity, use only a subset of the sample data
ses <- leukemia_eset[1:1000, ]
gsc <- c2BroadSets[1:100]
sp1 <- ssgseaParam(ses, gsc)
sp1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.