hughjonesd / ggmagnify

Create a magnified inset of part of a ggplot object
https://hughjonesd.github.io/ggmagnify/
Other
275 stars 3 forks source link

object 'dv' not found #9

Closed Syutenjyo closed 1 year ago

Syutenjyo commented 1 year ago

hello, i have just met a problem when i use

ggp <- ggplot(dv, aes(Position, NegLogP, color = cut)) + 
  geom_point(color = "darkblue", alpha = 0.8, size = 0.8) +
  labs(title = "GWAS p-values for cognitive function",
       subtitle = "Davies et al. (2018).", y = "-log(p)")

it says "object 'dv' not found". how can i get the dv variant?

hughjonesd commented 1 year ago

It comes from the data I was using, see the source at the bottom of the article. I think it's publicly available, but only for research purposes.

hughjonesd commented 1 year ago

Also, no offence, but github issues are for bug reports, not for help requests. If you need help, try stackoverflow.

Syutenjyo commented 1 year ago

Thank you for your answer. I am a beginner in computer science and I will pay attention to these issues in the future.