Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rror in LinkPeaks #1698

Closed
shabs24 opened this issue May 9, 2024 · 1 comment
Closed

rror in LinkPeaks #1698

shabs24 opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@shabs24
Copy link

shabs24 commented May 9, 2024

Hi,

I am trying to generate coverage plots for some of the genes that are expressed in my data. It works for other genes but not for these 3 genes and gives me an error

Testing 3 genes and 75234 peaks
Error in LinkPeaks(object = WT, peak.assay = "ATAC", expression.assay = "SCT", :
Could not find gene coordinates for requested genes

I can see the peaks in the promoter region in one of the genes and in the distal region in other gene in the annotation files.

Is it possible to plot the coverage around a gene even if it is not defined as peak.

This is the code I am using
WT <- LinkPeaks(
object = WT,
peak.assay = "ATAC",
expression.assay = "SCT",
genes.use = genes
)

Any suggestions?

@shabs24 shabs24 added the bug Something isn't working label May 9, 2024
@timoast
Copy link
Collaborator

timoast commented May 14, 2024

The error message suggests that the genes you are requesting are not present in the gene annotations stored in the object.

Is it possible to plot the coverage around a gene even if it is not defined as peak.

Yes, a coverage plot can be created for any region of the genome

@timoast timoast closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants