[R] calculating t-score/t-stats as my zscores

Ana Marija @okov|c@@n@m@r|j@ @end|ng |rom gm@||@com
Wed May 6 16:49:14 CEST 2020


as defined here:
https://huwenboshi.github.io/data%20management/2017/11/23/tips-for-formatting-gwas-summary-stats.html

where Effect size is Beta

On Wed, May 6, 2020 at 9:41 AM Rui Barradas <ruipbarradas using sapo.pt> wrote:
>
> Hello,
>
> By z-scores do you mean function help('scale')?
>
> Hope this helps,
>
> Rui Barradas
>
> Às 15:31 de 06/05/20, Ana Marija escreveu:
> > Hi Rui,
> >
> > Thank you for getting back to me. Is there is a better way to
> > calculate Z scores if I have p values, SE and Beta?
> >
> > Thanks
> > Ana
> >
> > On Wed, May 6, 2020 at 9:27 AM Rui Barradas <ruipbarradas using sapo.pt> wrote:
> >>
> >> Hello,
> >>
> >> That gives the *absolute* t-scores. If it's all you need/want, then the
> >> answer is yes, you can.
> >>
> >> Hope this helps,
> >>
> >> Rui Barradas
> >>
> >> Às 14:28 de 06/05/20, Ana Marija escreveu:
> >>> Hello,
> >>>
> >>> Can I apply the quantile function qt() this way?
> >>> qt(pvals/2, 406-34, lower.tail = F)
> >>> to get the T-scores?
> >>>
> >>> Thanks
> >>> Ama
> >>>
> >>> ______________________________________________
> >>> R-help using 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.
> >>>



More information about the R-help mailing list