Subset Peak2Gene Browser Plot #2110
Unanswered
simonmfr
asked this question in
Questions / Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I wanted to subset the peak2gene links shown in the
plotBrowserTrack()
, to only show those that are linked to the gene given ingeneSymbol
(not any other genes).I did the following, which however results in a different plot compared to plotting with
loops = getPeak2GeneLinks(archr_proj)
:Code
getGeneAnnotation(archr_proj)$genes
plotBrowserTrack(loop = gr_target)
(loop from peak center to gene start)The peak-center positions are largely the same, I just don't get the loop position of the gene when using standard
loops = getPeak2GeneLinks(archr_proj)
. Loops are ending in the middle of nowhere (no TSS or gene start, see image). Any idea why?Also, is my processing valid?
Thank you!
loops = getPeak2GeneLinks(archr_proj)
loops = gr_target
I also read #1127 and #1313 where you state that addPeakToGeneLinks() uses the start position of the gene from getGenes(ArchRProj). Shouldn't this result in the plot shown below?
Beta Was this translation helpful? Give feedback.
All reactions