AddGenePosDetails_RemoveXandYandMT: Add gene positional details

Description Usage Arguments Value

View source: R/LDSC_Creatingannot_Functions.R

Description

Function for extracting human gene positional information and removing X, Y and MT chromosomal genes.

Usage

1
2
3
4
5
6
7
AddGenePosDetails_RemoveXandYandMT(
  dataframe,
  columnToFilter,
  mart = 38,
  attributes,
  filter
)

Arguments

dataframe

Dataframe with gene names.

columnToFilter

Name of column in dataframe, which contains gene names.

mart

Specify genome build. Baseline from LDSC based on hg19/37.

attributes

Vector of attributes to extract from BioMart.

filter

Vector of filter to be used for BioMart query.

Value

Original dataframe together with gene positional information.


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