get_patient_ids-methods: Returns the ids of the patients in the data structure

Description Usage Arguments

Description

It parses the FASTA header when called on a XStringSet object using the sep and id_position arguments.

Usage

1
2
3
4
5
6
7
get_patient_ids(x, sep = "\\|", id_position = 1)

## S4 method for signature 'Patient_HLA'
get_patient_ids(x)

## S4 method for signature 'AAStringSet'
get_patient_ids(x, sep = "\\|", id_position = 1)

Arguments

x

The data structure to interrogate

sep

The symbol used to separate elements in the sequence names

id_position

After the sequence name has been split on the 'sep' character, which element of the resulting vector contains the patient id?


philliplab/EpitopeMatcher documentation built on Nov. 17, 2020, 3:28 p.m.