check_inputs_to_magma_celltype_analysis: Check input to MAGMA cell type analyses

View source: R/check_inputs_to_magma_celltype_analysis.r

check_inputs_to_magma_celltype_analysisR Documentation

Check input to MAGMA cell type analyses

Description

This code was functonalised because it is called by both baseline and conditional analysis.

Usage

check_inputs_to_magma_celltype_analysis(
  ctd,
  gwas_sumstats_path,
  upstream_kb,
  downstream_kb
)

Arguments

ctd

Cell type data structure containing specificity_quantiles.

gwas_sumstats_path

File path of the summary statistics file.

upstream_kb

How many kb upstream of the gene should SNPs be included?

downstream_kb

How many kb downstream of the gene should SNPs be included?

Value

Nothing returned but sends error if there is a fault with the arguments.


NathanSkene/MAGMA_Celltyping documentation built on Aug. 21, 2023, 8:55 a.m.