combine {INSPEcT} | R Documentation

## Combine different Objects of Class INSPEcT

### Description

This method combines the information coming from different Objects of INSPEcT class. Requirements for two or more object to be combined together are:

- they must be either modeled or either not modeled

- they must have the same time points

- they must have the same modeling parameters

### Usage

    ## S4 method for signature 'INSPEcT,INSPEcT'
    combine(x, y, ...)

### Arguments

`x` | An object of class INSPEcT
`y` | An object of class INSPEcT
`...` | Additional objects of class INSPEcT

### Details

In case the same gene is contained in more than one object that the user tries to combine, the information from one object will be used and a warning will be reported

### Value

An Object of class INSPEcT

### Examples

    nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
    nascentInspObj10_2genes <- nascentInspObj10[1:2]
    nascentInspObj10_5genes <- nascentInspObj10[6:10]
    nascentInspObj10_7genes <- combine(nascentInspObj10_2genes, nascentInspObj10_5genes)

[Package INSPEcT version 1.22.0 Index]