cust_rv144_bin: RV144 Bin Subjects By Challenge Information

Description Usage Arguments Value

View source: R/fc_custom.R

Description

Regroup subjects based on whether the survived/remained uninfected for greater or less than the median number of challenges.

Usage

1
cust_rv144_bin(fc, samples, surv)

Arguments

fc

The Fc Array data frame.

samples

The sample mapping informatin data frame. Used for converting sample aliases (4.6.6, etc.) to PIDs, which is what survival information is paired with.

surv

The survival information data frame. Should contain subject id, challenge to infection, and infection status.

Value

The Fc Array data frame with the group information replaced with the new group assignments.


kmorrisongr/fcan documentation built on Sept. 9, 2020, 10:12 a.m.