Learn R Programming

PIGShift (version 1.0.1)

read.groups: Read in the members of a gene group

Description

This function reads in the names of the members of a group of genes and stores them to a list. The input file needs to be formatted appropriately, with one group per line: groupnamegene1gene2...geneK

Usage

read.groups(filename, sep = "\t")

Arguments

filename
the file containing the list of gene groups
sep
indicate the appropriate separator if not tab

Value

A list whose names are gene group names and whose elements are vectors of genes