computeOutlier: Compute outlier probes

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/computeOutlier.R

Description

Computes outlier and/or mask probes for a set of Affymetrix GeneChips that will be excluded from S-Score calculations

Usage

1
computeOutlier(afbatch, rm.mask = TRUE, rm.outliers = TRUE, rm.extra = TRUE, celfile.path = NULL, celfile.names = NULL)

Arguments

afbatch

An AffyBatch object

rm.mask

should the spots marked as 'MASKS' be excluded from S-Score calculation?

rm.outliers

should the spots marked as 'OUTLIERS' be excluded from S-Score calculation?

rm.extra

if TRUE, overrides what is in rm.mask and rm.outliers

celfile.path

character denoting the path for the *.CEL files corresponding to afbatch

celfile.names

optional character vector containing the names of the *.CEL files

Details

Computes the outlier and / or mask probes for an AffyBatch object. These are returned in matrix form, with one probe per row and one chip per column. The value of each location in the matrix will be TRUE if the corresponding probe is an outlier / masked value and FALSE if it is not. The options may be set to exclude only outlier values, only mask values, or both. The probes are be arranged in the same row order as the intensity values. Note that this function assumes the *.CEL files are still available in the directory given by celfile.path (or the current directory if celfile.path is not specified). The *.CEL names are given by celfile.names. If celfile.names is not specified, the sample names from the AffyBatch object will be used.

Value

a matrix containing the list of outliers / masked values for the given AffyBatch object.

Note

Based on C++ code by Li Zhang and Delphi code by Robnet Kerns

Author(s)

Richard Kennedy rkennedy@vcu.edu

Examples

1
2
3
4
  if (length(dir(pattern=".cel$")) != 0) {
  abatch <- ReadAffy()
  outlier <- computeOutlier(abatch)
}

sscore documentation built on Nov. 8, 2020, 5:28 p.m.