format_ensembl_vep: format ensembl vep

Description Usage Arguments Value

View source: R/format_ensembl_vep.R

Description

A function that converts UKBB MFI data into a format that is read-able by VEP 94. Note, that this function always assumes the input order ('ALT_ID', 'RS_ID', 'POS', 'A1', 'A2', 'MAF', 'MA', 'INFO')

Usage

1
2
3
4
5
6
7
8
format_ensembl_vep(
  path = NULL,
  df = NULL,
  strand = "+",
  data.table.fill = TRUE,
  data.table.verbose = T,
  use.alt.id = T
)

Arguments

path

string. Path to file. If NULL, will ignore path and exepcted argument df.

df

a data.frame.

strand

string. Assumes + strand.

data.table.fill

See data.table::fread (verbose)

data.table.verbose

should data.table stats be printed?

use.alt.id

Should alternative (unique ID) be used instead?

Value

a data.table


frhl/our documentation built on Feb. 5, 2021, 7:30 p.m.