split {INSPEcT} | R Documentation

## Divide an INSPEcT Object into groups

### Description

Divides the INSPEcT object into the groups defined by 'f',

### Usage

    ## S4 method for signature 'INSPEcT,ANY'
    split(x, f, drop = FALSE, ...)

### Arguments

`x` | An object of class INSPEcT
`f` | A vector of length equal to the number of genes in x which defines the groups
`drop` | A logical belonging to the generic funciton, useless in this context.
`...` | Additional arguments to match the generic function

### Value

A list containing objects of class INSPEcT

### Examples

    nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
    splitIdx <- c(1,1,1,2,2,2,3,3,3,4)
    nascentInspObj10Split <- split(nascentInspObj10, splitIdx)

[Package INSPEcT version 1.12.2 Index]