
summarizeCountsPerPosition(mat, ct = 0, trim = 0.15)
ct
are removed and then a trimmed mean with
a trimming
percentage of trim
is computed on the log scale. This mean is
then exponentiated
again and multiplied by the total number of features passing the threshold
ct
per position. If a position contains only zero counts, its mean
is returned as zero.
data(exampleSampleTable)
directory <- file.path(system.file("extdata", package="DChIPRep"))
df <- lapply(file.path(directory, exampleSampleTable$Input),
read.delim)[[1]]
mat <- getMATfromDataFrame(df)
summaryPerPos <- summarizeCountsPerPosition(mat)
Run the code above in your browser using DataLab