R/plotTracks.R
plotCoGeneTracks.Rd
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
)
The bigwig (bw) file folder.
The suffix of the samples. e.g. ".cpm.bw".
The gene name.
The gene left flanking to plot. Default: 30000.
The gene right flanking to plot. Default: 30000.
The merged peaks.
The co-accessible file obtained by **getCoaccessible**.
The correlation cutoff of co-accessible. Default: 0.4.
The curve line with. Default: 0.8.
The degree of curvature. Default: 0.3.
Color list to plot tracks.
Whether to plot backgroud color. Default: TRUE.
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.