Plot the genome signal with tracks.
plotTracks(
samples_path,
samples_suffix,
chr,
start,
end,
peaks,
color = NA,
back.color = TRUE
)
The bigwig (bw) file folder.
The suffix of the samples. e.g. ".cpm.bw".
The chromosome ID.
The start position.
The end position.
The merged peaks file.
color list to plot tracks.
Whether to plot backgroud color. Default: TRUE.
plotTracks(samples_path = "./signal", samples_suffix = ".cpm.bw", chr="chr1", start=10000, end=20000, peaks="final_res/meged.peaks.bed")
#> Error in checkGeAnno(): Necessary Annotation not exist. Please **addAnnotation** first.