genesetmap: Function to generate map for gene set

View source: R/functions_for_RGWAS.R

genesetmapR Documentation

Function to generate map for gene set

Description

Function to generate map for gene set

Usage

genesetmap(map, gene.set, cumulative = FALSE)

Arguments

map

Data frame with the marker names in the first column. The second and third columns contain the chromosome and map position.

gene.set

Gene information with the format of a "data.frame" (whose dimension is (the number of gene) x 2). In the first column, you should assign the gene name. And in the second column, you should assign the names of each marker, which correspond to the marker names of "map" argument.

cumulative

If this argument is TRUE, cumulative position will be returned.

Value

Map for gene set.


RAINBOWR documentation built on July 4, 2024, 1:11 a.m.