|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.misc.GroupMap
A data structure representing a map between items and a single set of keys. For example, a set of probes and the genes they map to. Probes that point to the same gene are in the same "group".
Copyright (c) 2004
Institution: Columbia University
| Constructor Summary | |
GroupMap()
|
|
| Method Summary | |
int |
getUniqueItems()
|
boolean |
hasDuplicates(java.lang.String k)
For a given key, return true if it has duplicates. |
int |
numDuplicates(java.lang.String k)
For a given key, return the number of duplicates it has (not counting itself). |
java.util.Map |
read(java.lang.String filename,
DenseDoubleMatrix2DNamed dataMatrix)
The input file format is that used by MapReader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupMap()
| Method Detail |
public int getUniqueItems()
public boolean hasDuplicates(java.lang.String k)
k - String
public int numDuplicates(java.lang.String k)
k - String
public java.util.Map read(java.lang.String filename,
DenseDoubleMatrix2DNamed dataMatrix)
throws java.io.IOException
MapReader.
filename - Duplicate map file name to be read by a MapReader.dataMatrix - Data file this the map refers to.
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||