Package ubic.basecode.datafilter
Class AffymetrixProbeNameFilter<M extends Matrix2D<R,C,V>,R,C,V>
java.lang.Object
ubic.basecode.datafilter.AbstractFilter<M,R,C,V>
ubic.basecode.datafilter.AffymetrixProbeNameFilter<M,R,C,V>
- All Implemented Interfaces:
Filter<M,
R, C, V>
public class AffymetrixProbeNameFilter<M extends Matrix2D<R,C,V>,R,C,V>
extends AbstractFilter<M,R,C,V>
Remove probes that have names meeting certain rules indicating they may have low reliability. This is targeted at
cases like "AFFX", "_st", "_f_at" and so forth.
- Author:
- Paul Pavlidis
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Filter probes that have the AFFX prefix.static final int
Filter probes that have the "_f_at" (family) tag.static final int
Filter probes that have the "_g_at" (group) tag.static final int
Filter probes that contain the '_st' (sense strand) tagstatic final int
Filter probes that have the "_x_at" tag.Fields inherited from class ubic.basecode.datafilter.AbstractFilter
log
-
Constructor Summary
ConstructorsConstructorDescriptionFilter probes with all criteria switched on.AffymetrixProbeNameFilter
(int[] criteria) -
Method Summary
Methods inherited from class ubic.basecode.datafilter.AbstractFilter
getOutputMatrix
-
Field Details
-
AFFX
public static final int AFFXFilter probes that have the AFFX prefix.- See Also:
-
F
public static final int FFilter probes that have the "_f_at" (family) tag.- See Also:
-
G
public static final int GFilter probes that have the "_g_at" (group) tag.- See Also:
-
ST
public static final int STFilter probes that contain the '_st' (sense strand) tag- See Also:
-
X
public static final int XFilter probes that have the "_x_at" tag.- See Also:
-
-
Constructor Details
-
AffymetrixProbeNameFilter
public AffymetrixProbeNameFilter()Filter probes with all criteria switched on. -
AffymetrixProbeNameFilter
public AffymetrixProbeNameFilter(int[] criteria) - Parameters:
criteria
- int[] of constants indicating the criteria to use.
-
-
Method Details
-
filter
Description copied from interface:Filter
Filter the data- Parameters:
data
- a NamedMatrix. Some types of filters require that this be of a particular type of implementation of the Filter interface.- Returns:
- The resulting filtered matrix
-