Package ubic.basecode.datafilter
Class RowNameFilter<M extends Matrix2D<R,C,V>,R,C,V>
java.lang.Object
ubic.basecode.datafilter.AbstractFilter<M,R,C,V>
ubic.basecode.datafilter.RowNameFilter<M,R,C,V>
- All Implemented Interfaces:
Filter<M,
R, C, V>
Remove or retain rows that are on a list.
- Author:
- Paul Pavlidis
-
Field Summary
Fields inherited from class ubic.basecode.datafilter.AbstractFilter
log
-
Constructor Summary
ConstructorsConstructorDescriptionRowNameFilter
(Set<R> namesToFilter) RowNameFilter
(Set<R> namesToFilter, boolean exclude) -
Method Summary
Methods inherited from class ubic.basecode.datafilter.AbstractFilter
getOutputMatrix
-
Constructor Details
-
RowNameFilter
public RowNameFilter() -
RowNameFilter
- Parameters:
namesToFilter
-
-
RowNameFilter
- Parameters:
namesToFilter
-exclude
- Set to true if you want the list to indicate items to be skipped, rather than selected.
-
-
Method Details
-
filter
Filter according to row names.- Parameters:
data
-- Returns:
-
setFilterNames
-