library(GenomicRanges)
data(cage)
data(cpgi)
data(promoters)
cage$tpm = NULL
targets = GRangesList(cage=cage, cpgi=cpgi)
sml = ScoreMatrixList(targets, promoters, bin.num=10, strand.aware=TRUE)
sml.scaled = scaleScoreMatrixList(sml, rows=TRUE)
sml.scaled
multiHeatMatrix(sml)
Run the code above in your browser using DataLab