matching: Propensity score matching to get matched controls

Description Usage Arguments

View source: R/matching.R

Description

Propensity score matching to get matched controls

Usage

1
matching(pheno_dat, demo_dat, status_dat, ratio)

Arguments

pheno_dat

Phenotype data(sparse matrix)

demo_dat

Demographics dataframe with id and other covariates

status_dat

A dataframe with id and case/control status

ratio

1:ratio matched controls


verasiwei/PheWASExtension documentation built on May 22, 2019, 6:34 p.m.