AcceptFilter: The AcceptFilter class

Description Usage Arguments Fields and Methods Author(s) See Also Examples

Description

Package: aroma
Class AcceptFilter

Object
~~|
~~+--Filter
~~~~~~~|
~~~~~~~+--SerialFilter
~~~~~~~~~~~~|
~~~~~~~~~~~~+--AcceptFilter

Directly known subclasses:
GeneAcceptFilter

public static class AcceptFilter
extends SerialFilter

An AcceptFilter asks its input for indices and let only those indices through that is specified by its field accept.

Usage

1
AcceptFilter(input, accept=NULL, ...)

Arguments

input

The input MicroarrayData object.

accept

Vector of spot indices to be accepted.

...

Other arguments accepted by the constructor of the SerialFilter class.

Fields and Methods

Methods:

getIndex Gets indices accepted by this filter.

Methods inherited from SerialFilter:
changeInput, getInput

Methods inherited from Filter:
as.character, changeInput, getIndex, getInput, getParameter, getVisible, highlight, setParameter, setVisible, text

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstanciationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, save

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

See also the ParallelFilter class.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
   SMA$loadData("mouse.data")
   layout <- Layout$read("MouseArray.Layout.dat", path=system.file("data-ex", package="aroma"))
   raw <- RawData(mouse.data, layout=layout)

   ma <- getSignal(raw)
   normalizeWithinSlide(ma, "s")
   normalizeAcrossSlides(ma)

   tma <- as.TMAData(ma)

   # Look at the top 5% extreme M values
   fM  <- MFilter(tma, top=0.05, col="red")

   # And among those only look at the first 1000 spots.
   myFilter <- AcceptFilter(fM, accept=1:1000)

   plot(tma)
   highlight(myFilter, recursive=TRUE)
 

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.