Hi, I was using this library, qqman https://cran.r-project.org/web/packages/qqman/vignettes/qqman.html to create QQ plot, attached. How would I change this default abline to start from the beginning of my QQ line? This is my code: qq(dd$P, main = "Q-Q plot of GWAS p-values") Thanks Ana -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2019-11-11 at 4.48.13 PM.png Type: image/png Size: 101200 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20191111/d4c0c2ea/attachment.png>
Hi I'm not familiar with the qqman package, or GWAS studies. However, my guess would be that you're *not* supposed to change the position of the line. On Tue, Nov 12, 2019 at 11:48 AM Ana Marija <sokovic.anamarija at gmail.com> wrote:> > Hi, > > I was using this library, qqman > https://cran.r-project.org/web/packages/qqman/vignettes/qqman.html > > to create QQ plot, attached. How would I change this default abline to > start from the beginning of my QQ line? > > This is my code: > qq(dd$P, main = "Q-Q plot of GWAS p-values") > > Thanks > Ana > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
I agree with Abby. That would defeat the purpose of a QQ plot. On Mon, Nov 11, 2019, 9:54 PM Abby Spurdle <spurdle.a at gmail.com> wrote:> Hi > > I'm not familiar with the qqman package, or GWAS studies. > However, my guess would be that you're *not* supposed to change the > position of the line. > > On Tue, Nov 12, 2019 at 11:48 AM Ana Marija <sokovic.anamarija at gmail.com> > wrote: > > > > Hi, > > > > I was using this library, qqman > > https://cran.r-project.org/web/packages/qqman/vignettes/qqman.html > > > > to create QQ plot, attached. How would I change this default abline to > > start from the beginning of my QQ line? > > > > This is my code: > > qq(dd$P, main = "Q-Q plot of GWAS p-values") > > > > Thanks > > Ana > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]