check_numeric: Check numeric columns

View source: R/check_numeric.R

check_numericR Documentation

Check numeric columns

Description

Checks for any columns that should be numeric, and ensures that they are indeed numeric.

Usage

check_numeric(sumstats_dt, cols = c("P", "SE", "FRQ", "MAF", "BETA"))

Arguments

sumstats_dt

Summary stats with column names already standardised by format_sumstats.

cols

Names of columns that should be numeric. If any of these columns are not actually present in sumstats_dt, they will be skipped.

Value

sumstats_dt


neurogenomics/MungeSumstats documentation built on Aug. 10, 2024, 5:59 a.m.