manhattan_xwas: manhattan_xwas

View source: R/manhattan_xwas.R

manhattan_xwasR Documentation

manhattan_xwas

Description

this is a function plot the p values of the XWAS results, analagous to a manhattan plot. since the y axis is in the -log scale, there may be issues with plotting if the p value is zero or very close to zero (taking the neg log of it will be infinite)

Usage

manhattan_xwas(xdff, pval, thresh = 0.05)

Arguments

xdff

matrix returned from XWAS function, rownames of matrix should be the X variables

pval

column name of p value

thresh

p value threshold for signficance

Author(s)

Yixuan He, yixuan_he@hms.harvard.edu


yixuanh/PXStools documentation built on July 27, 2022, 10:27 a.m.