tni2mbrPreprocess,TNI-method {RTNduals} | R Documentation |
This function converts a TNI class objects and into one MBR class object.
## S4 method for signature 'TNI' tni2mbrPreprocess(tni, regulatoryElements = NULL, verbose = TRUE)
tni |
A 'TNI' class object. |
regulatoryElements |
A character vector specifying which 'TNI' regulatory elements should be evaluated. |
verbose |
A single logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE). |
An MBR object.
#--- load a dataset for demonstration data("dt4rtn", package = "RTN") gexp <- dt4rtn$gexp annot <- dt4rtn$gexpIDs tfs <- dt4rtn$tfs[c("IRF8","IRF1","PRDM1","AFF3","E2F3")] ## Not run: ##--- compute a TNI for tfs tni <- tni.constructor(expData=gexp, regulatoryElements=tfs, rowAnnotation=annot) ##--- run tni2mbrPreprocess rmbr <- tni2mbrPreprocess(tni) ## End(Not run)