AddBPWindow: Add window to genes

Description Usage Arguments Value

View source: R/LDSC_Creatingannot_Functions.R

Description

Function for adding a window to genes.

Usage

1
AddBPWindow(dataset, windowsize, mouse = NULL)

Arguments

dataset

Dataframe with columns with gene start_position and end_position. Check columns names are start_position and end_position for human queries.

windowsize

Size of window to be added to annotation. Enter as integer.

mouse

If original genes are from mouse then select "true". Necessary as output column names from biomart queries differs between species.

Value

Dataframe with x bp added to gene start/end.


RHReynolds/LDSCforRyten documentation built on Sept. 27, 2021, 5:20 p.m.