Plot specific gene ATAC signal and co-accessible with tracks.

plotCoGeneTracks(
  samples_path,
  samples_suffix,
  gene_name,
  left = 30000,
  right = 30000,
  peaks,
  colist,
  coaccess_cutoff = 0.4,
  line_size = 0.8,
  curvature = 0.3,
  color = NA,
  back.color = TRUE
)

Arguments

samples_path

The bigwig (bw) file folder.

samples_suffix

The suffix of the samples. e.g. ".cpm.bw".

gene_name

The gene name.

left

The gene left flanking to plot. Default: 30000.

right

The gene right flanking to plot. Default: 30000.

peaks

The merged peaks.

colist

The co-accessible file obtained by **getCoaccessible**.

coaccess_cutoff

The correlation cutoff of co-accessible. Default: 0.4.

line_size

The curve line with. Default: 0.8.

curvature

The degree of curvature. Default: 0.3.

color

Color list to plot tracks.

back.color

Whether to plot backgroud color. Default: TRUE.

Examples

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