Plot the fitting time ATAC and RNA.

plotTimeAll(
  norm_data,
  peak2gene,
  rna_matrix,
  corr_cutoff = 0.4,
  label = NA,
  ATAC_Palette = NA,
  RNA_Palette = NA
)

Arguments

norm_data

Input the normalized dynamic matrix.

peak2gene

The peak2gene RDS file obtained by **getPeak2Gene**.

rna_matrix

The RNA expression matrix.

corr_cutoff

The cutoff of correlation to get the reliable Peak2gene links. Default: 0.4.

label

The label annotation file.

ATAC_Palette

Color for ATAC heatmap.

RNA_Palette

Color for RNA heatmap.

Examples

 plotTimeAll(norm_data = "dynamic_ocrs.tsv", peak2gene = "F:/CAT/example/All_Peak2Gene_links.rds" , rna_matrix = "RSEM_matrix.tsv")
#> 2023-10-24 09:43:25 Calculating ATAC time...
#> Error in 1:ncol(norm_data): argument of length 0