Obtaining the number of links between Peaks and Genes #658
-
Is there a way of determining the number of peak2gene links for each gene that meet the cutoffs? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
This information should be available from the return of |
Beta Was this translation helpful? Give feedback.
-
Can you elaborate some more. I tried writing the peakset and geneset files under peak2gene links to csv but although I see the gene names with IRanges in the later and GRanges in the former I still don't understand how to associate the actual number of Links associated with a given gene(s). |
Beta Was this translation helpful? Give feedback.
-
If idx is the index for each message then the only way of arriving at the number of links seems rather laborious and manually. If there is a simpler way of doing so do advice. |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch! Already on it. Hence the manual part. |
Beta Was this translation helpful? Give feedback.
This information should be available from the return of
getPeak2GeneLinks()
whenreturnLoops = FALSE
via theidxRNA
column. This is explained briefly in this section of the manual:https://www.archrproject.com/bookdown/peak2genelinkage-with-archr.html