read.ligand.files: Read in all .txt files in a folder as ligands

Description Usage Arguments Value

Description

read.ligand.files() takes in a file directory and returns a list of lists of each HLA's ligands

Usage

1
read.ligand.files(ligand.dir, first.line.name = TRUE)

Arguments

ligand.dir

file directory with one or more files of txt files of peptide sequences. Each file is named after the HLA allele, and one peptide sequence is present per line.

first.line.name

whether to use the first line of the file as the name of the collection of peptides in the file (default). If set to FALSE, uses the name of the file (without the ".txt" extension) instead.

Value

list of lists of ligands in ligand.dir, where each sublist is named by each file


ash129/LAPP documentation built on May 10, 2019, 1:52 p.m.