importDataFromMatrices(inputData, chipData, sampleTable)
data(exampleSampleTable)
for an example
table.
and the vignette for further information.DESeqDataSet
.
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.
data(exampleSampleTable)
data(exampleInputData)
data(exampleChipData)
imDataFromMatrices <- importDataFromMatrices(inputData = exampleInputData,
chipData = exampleChipData,
sampleTable = exampleSampleTable)
Run the code above in your browser using DataLab