Considering that the analysis requires a larger number of cells for support, we used the combined data from 9 samples for the presentation. The data used in this analysis can be downloaded here.
load("eccDNAscope_example/share_eccDNA_data/eccDNA_frame.Rdata")
load("eccDNAscope_example/share_eccDNA_data/cell_type.Rdata")
sort(rowSums(eccDNA_frame>0),decreasing = T)[1:10] # The candidate genes of shared_eccDNA_analysis
## LOC124907970 EEF1B2 PTMA TUBA4A CACYBP TMEM198
## 150 142 128 112 109 103
## CCNYL1 METTL21A MIR933 LOC105373880
## 100 92 90 86
Compare the similarity between and within groups of cells based on the transcription start site (TSS) enrichment scores of genes in single_eccDNA_clone_cluster
combined_atac_all_samples <- readRDS("eccDNAscope_example/share_eccDNA_data/combined_atac_final.rds")
p_cor <- cor_single_eccDNA_clone_cluster(eccDNA.object=combined_atac_all_samples,
clone_matrix=single_eccDNA_clone_result$clone_matrix,
hc=single_eccDNA_clone_result$hc,
cluster.num=3,
min.cell=4)
p_cor