genomic_contexts_tbl: Creates a genomic contexts table.

View source: R/class-variants.R

genomic_contexts_tblR Documentation

Creates a genomic contexts table.

Description

Creates a genomic contexts table.

Usage

genomic_contexts_tbl(
  variant_id = character(),
  gene_name = character(),
  chromosome_name = character(),
  chromosome_position = integer(),
  distance = integer(),
  is_mapped_gene = logical(),
  is_closest_gene = logical(),
  is_intergenic = logical(),
  is_upstream = logical(),
  is_downstream = logical(),
  source = character(),
  mapping_method = character()
)

Arguments

variant_id

A character vector of variant identifiers.

gene_name

A character vector of gene symbols according to HUGO Gene Nomenclature (HGNC).

chromosome_name

A character vector of chromosome names.

chromosome_position

An integer vector of chromosome positions.

distance

An integer vector of genomic positions.

is_closest_gene

A logical vector.

is_intergenic

A logical vector.

is_upstream

A logical vector.

is_downstream

A logical vector.

source

A character vector of gene mapping sources.

mapping_method

A character vector of gene mapping methods.

Value

A tibble whose columns are the named arguments to the function.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.