Description Usage Arguments Details Value Examples
This function imports the data from two matrices that contain counts summarized per position. It computes the normalization factors from the input (one per position) and creates a DChIPRepResults object.
1 | importDataFromMatrices(inputData, chipData, sampleTable)
|
inputData |
a matrix containing the counts for the input per position. |
chipData |
a matrix containing the counts for the ChIP per position. |
sampleTable |
a data.frame that has to contain the columns sampleID,
upstream, downstream and condition. Each row of the table describes one
experimental sample. See |
The normalization factors are computed as
t(t(inputData) * (covC/covI))
, Where covC and covI contain the total
sum of the ChIP and the input samples. Zero normalization factors can arise
if the input has zero counts for certain
positions. That's why input values equal to zero are set to 1
in order to always
obtain valid normalizationFactors.
a DChIPRepResults object containing the imported data as a
DESeqDataSet
.
1 2 3 4 5 6 | data(exampleSampleTable)
data(exampleInputData)
data(exampleChipData)
imDataFromMatrices <- importDataFromMatrices(inputData = exampleInputData,
chipData = exampleChipData,
sampleTable = exampleSampleTable)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.