importData: Import the data after running the Python script

Description Usage Arguments Value Examples

View source: R/dataImport.R

Description

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

Usage

1
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

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

DChIPRep documentation built on April 29, 2020, 4:26 a.m.