uniquegenelist {limma} | R Documentation |
Eliminate duplicate names from the gene list. The new list is shorter than the full list by a factor of ndups
.
uniquegenelist(genelist,ndups=2,spacing=1)
genelist |
vector of gene names |
ndups |
number of duplicate spots. The number of rows of |
spacing |
the spacing between duplicate names in |
A vector of length length(genelist)/ndups
containing each gene name once only.
Gordon Smyth
genelist <- c("A","A","B","B","C","C","D","D") uniquegenelist(genelist,ndups=2) genelist <- c("A","B","A","B","C","D","C","D") uniquegenelist(genelist,ndups=2,spacing=2)