Create unique list of genes from input list

Share:

Description

getUniqueGeneList takes a 2-column matrix of group identifiers and gene names, returning the seperated list of unique group identifiers and a unique list of genes.

Usage

1
2
3
4
5
6
7
getUniqueGeneList(x, inputlist)

## S4 method for signature 'geneanno,character'
getUniqueGeneList(x, inputlist)

## S4 method for signature 'geneanno,matrix'
getUniqueGeneList(x, inputlist)

Arguments

x

object of class geneanno.

inputlist

vector of strings, being a mixed list of group numbers and gene names

Value

object of type geneanno; a copy of input object having the additional list of group numbers and a list of genes from uniquelist

Methods (by class)

  • x = geneanno,inputlist = character: object of type geneanno; a copy of input object having the additional list of group numbers and a unique list of genes from s

  • x = geneanno,inputlist = matrix: object of type geneanno; a copy of input object having the additional list of group numbers and a unique list of genes from s

Examples

1
2
3
4
5
## Not run: 
data("genematrix")
ga <- getUniqueGeneList(ga,genematrix)

## End(Not run)