importData {DChIPRep} | R Documentation

## Import the data after running the Python script

### Description

This function imports the data from the count table files as returned by the accompanying Python script.

### Usage

    importData(sampleTable, directory = "", ID = "name", ...)

### Arguments

`sampleTable` | a data.frame that has to contain the columns ChiP, Input, sampleID, upstream, downstream and condition. Each row of the table describes one experimental sample. Each row of the table describes one experimental sample. See `data(exampleSampleTable)` for an example table. and the vignette for further information.
`directory` | the directory relative to which the filenames are specified given as a character.
`ID` | character giving the name of the feature identifier column in the count tables. Defaults to `"name"`
`...` | parameters passed to `summarizeCountsPerPosition`

### Value

a `DChIPRepResults` object containg the imported data as a `DESeqDataSet`.

### Examples

    data(exampleSampleTable)
    directory <- file.path(system.file("extdata", package="DChIPRep"))
    importedData <- importData(exampleSampleTable, directory)

[Package DChIPRep version 1.16.0 Index]