convertListTocompData {compcodeR} | R Documentation

## Convert a list with data and results to a `compData` object

### Description

Given a list with data and results (resulting e.g. from `compcodeR` version 0.1.0), convert it to a `compData` object.

### Usage

    convertListTocompData(inp.list)

### Arguments

`inp.list` | A list with data and results, e.g. generated by `compcodeR` version 0.1.0.

### Author(s)

Charlotte Soneson

### Examples

    convertListTocompData(list(count.matrix = matrix(round(1000*runif(4000)), 1000),
                               sample.annotations = data.frame(condition = c(1,1,2,2)),
                               info.parameters = list(dataset = "mydata",
                               uID = "123456")))

[Package compcodeR version 1.16.1 Index]