barChart {geneXtendeR} | R Documentation |
Makes bar graphs showing the number of genes under peaks at various upstream extension levels.
barChart(organism, start, end, by)
organism |
Object name assigned from readGFF() command. |
start |
Lower bound of upstream extension. |
end |
Upper bound of upstream extension. |
by |
Interval between consecutive extensions. |
Creates bar charts.
library(rtracklayer) rat <- readGFF("ftp://ftp.ensembl.org/pub/release-84/gtf/rattus_norvegicus/Rattus_norvegicus.Rnor_6.0.84.gtf.gz") fpath <- system.file("extdata", "somepeaksfile.txt", package="geneXtendeR") peaksInput(fpath) barChart(rat, 1000, 3000, 100)