R/AllClasses.R

##
## Two classes defiend in meshr package
##

## Class to holds parameters that will be passed on to statistical test
setClass("MeSHHyperGParams",
        representation=representation(
          geneIds="ANY",
          universeGeneIds="ANY",
          annotation="character",
          category="character",
          database="character",
          pvalueCutoff="numeric",
          pAdjust="character"
          ),
        prototype=prototype(
          pvalueCutoff=0.05,
          pAdjust="none"
          )
        )

## Class to holds MeSH enrichment analysis results
setClass("MeSHHyperGResult",
        representation=representation(
          meshCategory="character",
          meshAnnotation="character",
          meshDatabase="character",
          ORA="data.frame"
          )
        )

Try the meshr package in your browser

Any scripts or data that you put into this service are public.

meshr documentation built on Nov. 8, 2020, 6:47 p.m.