Abs_df: A data frame with candidates' HLA antibodies

View source: R/sim_df.R

Abs_dfR Documentation

A data frame with candidates' HLA antibodies

Description

Returns a data frame with transplant candidates' HLA antibodies obtained according to theirs cPRA values and HLA typing.

Usage

Abs_df(candidates = candidates_df(n = 10), origin = "PT", n_seed = 3)

Arguments

candidates

A dataframe with ID, HLA typing (column names: A1, A2, B1, B2, DR1, DR2) and cPRA value (column name: cPRA), for a group of transplant candidates.

origin

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

n_seed

a numeric seed that will be used for random number generation.

Value

A data frame with ID and HLA antibodies Abs.

Examples

Abs_df(candidates = candidates_df(n=10), origin = 'PT', n_seed = 3)

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