format_data.args: FUNCTION_TITLE

View source: R/run_TwoSampleMR.R

format_data.argsR Documentation

FUNCTION_TITLE

Description

FUNCTION_DESCRIPTION

Usage

format_data.args(
  dat = NULL,
  type = "exposure",
  snps = NULL,
  header = TRUE,
  phenotype_col = "Phenotype",
  snp_col = "SNP",
  beta_col = "beta",
  se_col = "se",
  eaf_col = "eaf",
  effect_allele_col = "effect_allele",
  other_allele_col = "other_allele",
  pval_col = "pval",
  units_col = "units",
  ncase_col = "ncase",
  ncontrol_col = "ncontrol",
  samplesize_col = "samplesize",
  gene_col = "gene",
  id_col = "id",
  min_pval = 1e-200,
  z_col = "z",
  info_col = "info",
  chr_col = "chr",
  pos_col = "pos",
  log_pval = FALSE
)

Arguments

dat

PARAM_DESCRIPTION, Default: NULL

type

PARAM_DESCRIPTION, Default: 'exposure'

snps

PARAM_DESCRIPTION, Default: NULL

header

PARAM_DESCRIPTION, Default: TRUE

phenotype_col

PARAM_DESCRIPTION, Default: 'Phenotype'

snp_col

PARAM_DESCRIPTION, Default: 'SNP'

beta_col

PARAM_DESCRIPTION, Default: 'beta'

se_col

PARAM_DESCRIPTION, Default: 'se'

eaf_col

PARAM_DESCRIPTION, Default: 'eaf'

effect_allele_col

PARAM_DESCRIPTION, Default: 'effect_allele'

other_allele_col

PARAM_DESCRIPTION, Default: 'other_allele'

pval_col

PARAM_DESCRIPTION, Default: 'pval'

units_col

PARAM_DESCRIPTION, Default: 'units'

ncase_col

PARAM_DESCRIPTION, Default: 'ncase'

ncontrol_col

PARAM_DESCRIPTION, Default: 'ncontrol'

samplesize_col

PARAM_DESCRIPTION, Default: 'samplesize'

gene_col

PARAM_DESCRIPTION, Default: 'gene'

id_col

PARAM_DESCRIPTION, Default: 'id'

min_pval

PARAM_DESCRIPTION, Default: 1e-200

z_col

PARAM_DESCRIPTION, Default: 'z'

info_col

PARAM_DESCRIPTION, Default: 'info'

chr_col

PARAM_DESCRIPTION, Default: 'chr'

pos_col

PARAM_DESCRIPTION, Default: 'pos'

log_pval

PARAM_DESCRIPTION, Default: FALSE

Value

OUTPUT_DESCRIPTION


jinghuazhao/pQTLtools documentation built on Nov. 21, 2024, 3:32 a.m.