tni2mbrPreprocess,TNI-method {RTNduals}R Documentation

A preprocessing function for objects of class MBR.

Description

This function converts a TNI class objects and into one MBR class object.

Usage

## S4 method for signature 'TNI'
tni2mbrPreprocess(tni, regulatoryElements = NULL,
  verbose = TRUE)

Arguments

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).

Value

An MBR object.

Examples

#--- 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)


[Package RTNduals version 1.4.4 Index]