Plot specific gene ATAC signal with tracks.

plotGeneTracks(
  samples_path,
  samples_suffix,
  gene_name,
  left = 10000,
  right = 10000,
  peaks,
  color = NA,
  back.color = TRUE
)

Arguments

samples_path

The bigwig (bw) file folder.

samples_suffix

The suffix of the samples.

gene_name

The gene name.

left

The gene left flanking to plot. Default is 10000.

right

The gene right flanking to plot. Default is 10000.

peaks

The merged peaks.

color

Color list to plot tracks.

back.color

Whether to plot backgroud color. Default if TRUE.

Examples

 plotGeneTracks(samples_path = "./signal", samples_suffix = ".cpm.bw", gene_name="ENSG00000103888" , peaks="final_res/meged.peaks.bed")
#> Error in checkGeAnno(): Necessary Annotation not exist. Please **addAnnotation** first.