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

    data('mycerIds10')
    splitIdx <- c(1,1,1,2,2,2,3,3,3,4)
    mycerIds10Split <- split(mycerIds10, splitIdx)

[Package INSPEcT version 1.10.0 Index]