hla_sample_mndp: A data frame with HLA haplotypes

View source: R/clinical.R

hla_sample_mndpR Documentation

A data frame with HLA haplotypes

Description

Returns a data frame with HLA-A, -B and -DRB1 haplotypes from MNDP by race and sampled by their frequencies

Usage

hla_sample_mndp(n, replace, origin)

Arguments

n

An integer to define the number of rows

replace

A logical value for sampling with replacement

origin

A character value from options: 'API', 'AFA', 'CAU' and 'HIS'

Value

A data frame

Examples

hla_sample_mndp(n = 1000, replace = TRUE, origin = 'CAU')

balima78/simK documentation built on May 23, 2023, 5:02 p.m.