tni.replace.samples {RTN} | R Documentation

## Entry point to assess new samples with previously calculated regulons.

### Description

This function replaces samples of an existing TNI-class objects.

### Usage

    tni.replace.samples(object, expData, rowAnnotation=NULL, colAnnotation=NULL,
    removeRegNotAnnotated=TRUE, verbose=TRUE)

### Arguments

`object` | an object of class `TNI-class`.
`expData` | a gene expression matrix or 'SummarizedExperiment' object.
`rowAnnotation` | an optional data frame with gene annotation. Column 1 must provide all ids listed in the gene expression matrix.
`colAnnotation` | an optional data frame with sample annotation.
`removeRegNotAnnotated` | a single logical value specifying to remove 'regulatoryElements' not annotated in 'expData' (when removeRegNotAnnotated=TRUE) or not (when removeRegNotAnnotated=FALSE).
`verbose` | a single logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE).

### Value

A TNI-class object.

### Author(s)

Mauro Castro

### Examples

    ## please the package's vignette

[Package RTN version 2.18.0 Index]