Skip to content

getMatrix

  getMatrix method for jpeth class

  Example
  matrix=getMatrix(obj)

  returns the JPETH matrix scaled according to the current mode (as set 
  by setMode) and filtered by the current filter (as set by setFilter).

  Mode is set to 'raw' by default in the jpeth constructor.
  Valid standard modes include 'raw', 'average', 'corrected', 'errors',
  'normalized' and 'surprise'. User-defined modes may be added
  (see setMode for details).

  Note that the returned matrix is filtered with the contents of obj.filter
  by a call to filter2. Note that no re-scaling is done at the edges of
  matrix after filtering.

  See Also filter2, jpeth setMode, setFilter

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 02/09
  Copyright © The Author & King's College London 2009-
  -------------------------------------------------------------------------