Description Slots See Also Examples
This S4 class contains the parameters to provide for SEA.
treat_lfcnumeric, lfc parameter passed to
treat function (default: 0).
de_cutoffnumeric, cutoff value to define a gene as differentialy expressed (default: 0.01).
adjust_methodcharacter, method parameter passed to
p.adjust function (default: "fdr").
de_genes(optional) character vector of differentialy expressed genes, if not provided it will be filled using the other parameters.
brbackground reference to use, there are two possible options for this slot (default: "briii"):
character indicating to use "bri" or "briii".
character vector indicating the genes to use as background reference.
testcharacter indicating which test to use, it must be one of "FisherTest", "HypergeoTest" or "BinomialTest" (default: "FisherTest").
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Lets create the default SEAparams object.
mySeaParams <- SEAparams()
## Lets create another SEAparams object with my default br genes. Make sure
## these genes are present in the analyzed expression matrix rownames.
myBr <- as.character(1:10)
mySeaParamsOwnBr <- SEAparams(br = myBr)
## Lets create another SEAparams object with my default differentialy
## expressed genes. Make sure these genes are present in the analyzed
## expression matrix rownames.
myDEGenes <- as.character(3:15)
mySeaParamsOwnDEG <- SEAparams(de_genes = myDEGenes)
## Lets create another SEAparams object changing the differentialy
## expressed genes parameters.
mySeaParamsOwnParams <- SEAparams(
treat_lfc = 0.25, de_cutoff = 0.05,
adjust_method = "none"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.