hlaCallsToCounts: Transform HLA calls to counts table

View source: R/transformationFunctions.R

hlaCallsToCountsR Documentation

Transform HLA calls to counts table

Description

hlaCallsToCounts converts HLA calls data frame into a counts table.

Usage

hlaCallsToCounts(hla_calls, check_hla_format = TRUE)

Arguments

hla_calls

HLA calls data frame, as returned by readHlaCalls function.

check_hla_format

Logical indicating if hla_calls format should be checked. This is useful if one wants to use hlaCallsToCounts with input not adhering to HLA nomenclature standards. See examples.

Value

HLA allele counts data frame. First column holds samples ID's, further columns, corresponding to specific alleles, give information on the number of their occurrences in each sample.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.