createscCoGAPSSets {CoGAPS} | R Documentation

## Create Gene Sets for scCoGAPS

### Description

factors whole genome data into randomly generated sets for indexing

### Usage

    createscCoGAPSSets(D, nSets, simulationName, samplingRatio = NULL,
      path = "", anotionObj = NULL)

### Arguments

`D` | data matrix
`nSets` | number of sets to partition the data into
`simulationName` | name used to identify files created by this simulation
`samplingRatio` | vector of relative quantities to use for sampling celltypes
`path` | character string indicating were to save resulting data objects. default is current working dir
`anotionObj` | vector of same length as number of columns of D

### Value

simulationName used to identify saved files

### Examples

    data(SimpSim)
    createscCoGAPSSets(SimpSim.D, nSets=2, simulationName="example")

[Package CoGAPS version 3.0.2 Index]