Description Usage Arguments Value Examples
setEnrCutoff
sets the enrichment cutoff value for a MIGSAres object in
order to get detailed enrichment results.
1 2 3 4 | setEnrCutoff(object, newEnrCutoff)
## S4 method for signature 'MIGSAres,numeric'
setEnrCutoff(object, newEnrCutoff)
|
object |
a MIGSAres object. |
newEnrCutoff |
numeric value in range [0,1] or NA to set the new enrichment cutoff. If NA then enrichment cutoff is unset for object. |
A MIGSAres object with the updated slots.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(migsaRes)
## After executing MIGSA, the MIGSAres object does not have an enrichment
## cutoff set, so it will be shown as follows:
head(migsaRes)
## Now lets set an enrichment cutoff, and then show again the object.
migsaResWCoff <- setEnrCutoff(migsaRes, 0.01)
head(migsaResWCoff)
## So now we can do stuff like check how many gene sets are enriched in both
## experiments, in each one, etc. Moreover now we can do different MIGSAres
## plots available in MIGSA package.
table(migsaResWCoff[, c("igsaInput1", "igsaInput2")])
## And with different cutoffs.
migsaResWCoff <- setEnrCutoff(migsaRes, 0.1)
table(migsaResWCoff[, c("igsaInput1", "igsaInput2")])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.