hlaAlignmentGrantham: Helper function returning alignment for Grantham distance...

View source: R/utils.R

hlaAlignmentGranthamR Documentation

Helper function returning alignment for Grantham distance calculations

Description

Helper function returning alignment for Grantham distance calculations

Usage

hlaAlignmentGrantham(gene, aa_sel = 2:182)

Arguments

gene

Character vector specifying HLA gene.

aa_sel

Numeric vector specifying amino acids that should be extracted.

Value

HLA alignment processed for grantham distance calculation. Processing includes extracting specific amino acids, masking indels, gaps and stop codons.


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