exportregion: Prepare the dataframe to pass to landscape function

View source: R/PheGWAS.R

exportregionR Documentation

Prepare the dataframe to pass to landscape function

Description

Prepare the dataframe to pass to landscape function

Usage

exportregion(x, phenos, chromosome = NULL, lab = NULL, LDblock = NULL)

Arguments

x

List of dataframes that need to do PheGWAS on. Arrange the dataframe in the order how the the phenotypes should align in y axis

phenos

a vector of phenotypes that you are passing for in the summary statistics file. It should be in the order that you pass the List.

chromosome

The chromosome in which the region lies

lab

The region within the chromosme to export

LDblock

If want to pass a custom LDblock file for division of BP groups (applicable only for chromosomal level)

Details

Make sure there are no duplicate rsid's in any of the dataframe, If there aremake sure to resolve it before passing it to this function.

Value

A processed dataframe to pass to PheGWAS function

Author(s)

George Gittu

Examples

## Not run: 
xprocess <- exportregion(x,phenos,chromosome = 19, lab = 11 )

## End(Not run)

georgeg0/PheGWAS documentation built on Oct. 15, 2022, 7:49 a.m.