IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
log_as_fsel_grades Class Reference

Detailed Description

Log generated by as_fsel_grades.

Definition at line 2 of file log_as_fsel_grades.m.

+ Inheritance diagram for log_as_fsel_grades:
+ Collaboration diagram for log_as_fsel_grades:

Public Member Functions

function log_as_fsel_grades ()
 
function extract_dataset (in o)
 
function draw (in o, in data_hint, in flag_mark)
 

DRAWING

More...
 
function extract_fsel (in o)
 
function draw_hachures (in o, in x, in ymax)
 Gray columns for the features that were NOT selected. More...
 
function draw_grades (in o, in data_hint, in flag_histogram)
 
function draw_markers (in o)
 
function draw_finish (in o)
 Takes care of axes, Frank, box. More...
 
function get_description (in o, in flag_short)
 
function setbatch (in o, in params)
 Sets several properties of an object at once. More...
 
function get_methodname (in o, in flag_short)
 
function get_report (in o)
 Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication. More...
 
function get_html (in o, in flag_stylesheet)
 
function get_params (in o, in data)
 Calls Parameters GUI. More...
 
function extract_log (in o)
 
function get_ancestry (in o, in flag_title)
 

Public Attributes

Property opt_subsets
 Optimization sub-sets. More...
 
Property opt_grades
 Optimization grades. More...
 
Property flag_peaks
 Whether the selected features are peaks. More...
 
Property type
 
Property threshold
 
Property v
 =[]. Indexes of selected features. More...
 
Property grades
 Grades. More...
 
Property fea_x
 x-values to which grades are the y-values More...
 
Property fea_names
 (Cell of strings) Feature names. Same number of elements as fea_x More...
 
Property xname
 x-axis label More...
 
Property xunit
 Unit of x-axis. More...
 
Property yname
 y-axis label (e.g., "classification rate", "-log_{10}(p-value)") More...
 
Property yunit
 Unit of y-axis (unit of the values inside grades, e.g., "%") More...
 
Property title
 
Property color
 

Protected Member Functions

function draw_hachures2 (in o)
 Checks for existence of Inf's and calculates ymax automatically. More...
 
function draw_threshold (in o)
 
function draw_peaks (in o)
 
function do_get_report (in o)
 Default report. More...
 
function do_get_html (in o)
 Abstract. HTML inner body. More...
 

Protected Attributes

Property classtitle
 Class Title. Should have a descriptive name, as short as possible. More...
 
Property short
 Short for the method name. More...
 
Property flag_params
 
Property flag_ui
 (GUI setting) Whether to "publish" in blockmenu and datatool. Note that a class can be "published" without a GUI (set flag_params=0 in this case, at the class constructor). More...
 
Property moreactions
 (GUI setting) String cell containing names of methods that may be called from the GUIs More...
 

Constructor & Destructor Documentation

function log_as_fsel_grades::log_as_fsel_grades ( )

Member Function Documentation

function irobj::do_get_html ( in  o)
protectedinherited

Abstract. HTML inner body.

function irobj::do_get_report ( in  o)
protectedinherited

Default report.

function log_as_fsel_grades::draw ( in  o,
in  data_hint,
in  flag_mark 
)

DRAWING

Enhancements from ancestor log_as_fsel_grades

  • Draws threshold line
  • Draws hachures only if threshold mode
  • Draws peaks
function log_as_fsel::draw_finish ( in  o)
inherited

Takes care of axes, Frank, box.

function log_as_fsel::draw_grades ( in  o,
in  data_hint,
in  flag_histogram 
)
inherited
function log_as_fsel::draw_hachures ( in  o,
in  x,
in  ymax 
)
inherited

Gray columns for the features that were NOT selected.

function log_as_fsel_grades::draw_hachures2 ( in  o)
protected

Checks for existence of Inf's and calculates ymax automatically.

function log_as_fsel::draw_markers ( in  o)
inherited
function log_as_fsel_grades::draw_peaks ( in  o)
protected
function log_as_fsel_grades::draw_threshold ( in  o)
protected
function log_as_fsel_grades::extract_dataset ( in  o)

Creates a dataset with one row containing the opt_grades property.

See also
as_fsel_grades
function log_as_fsel::extract_fsel ( in  o)
inherited
Returns
an fsel block with the selection in fsel::v
function irobj::extract_log ( in  o)
inherited
Parameters
o
Returns
[o, log]
function irobj::get_ancestry ( in  o,
in  flag_title 
)
inherited
Parameters
o
flag_title=1
function irobj::get_description ( in  o,
in  flag_short 
)
inherited

Returns description string

Precedence according with flag_short:

  • 0: title > short > classtitle
  • 1: short > title > classtitle
Parameters
flag_short=0I am sealing this to make sure that no class will try to improvise on this function.
function irobj::get_html ( in  o,
in  flag_stylesheet 
)
inherited
Parameters
flag_stylesheet=1Whether to include the stylesheet in the HTML
function irobj::get_methodname ( in  o,
in  flag_short 
)
inherited

This is used only to compose sequence string e.g. xxx->yyy->zzz

Parameters
flag_short=0
function irobj::get_params ( in  o,
in  data 
)
inherited

Calls Parameters GUI.

If flag_params, tries uip_<class>.m. If fails, tries uip_<ancestor>.m and so on

function irobj::get_report ( in  o)
inherited

Object reports are plain text. HTML would be cool but c'mon, we don't need that sophistication.

function irobj::setbatch ( in  o,
in  params 
)
inherited

Sets several properties of an object at once.

Parameters
o
paramsCell followint the pattern
{'property1', value1, 'property2', value2, ...} 

Member Data Documentation

Property irobj::classtitle
protectedinherited

Class Title. Should have a descriptive name, as short as possible.

Definition at line 50 of file irobj.m.

Property irobj::color
inherited

=[0, .8, 0]. multipurpose feature, routines may use it for different things. Major use is to change the background of objtool and blockmenu. See also classes_html.m

Definition at line 42 of file irobj.m.

Property log_as_fsel::fea_names
inherited

(Cell of strings) Feature names. Same number of elements as fea_x

Definition at line 17 of file log_as_fsel.m.

Property log_as_fsel::fea_x
inherited

x-values to which grades are the y-values

Definition at line 14 of file log_as_fsel.m.

Property irobj::flag_params
protectedinherited

=1. (GUI setting) Whether to call a GUI when the block is selected in blockmenu.m . If true, a routine called "uip_"<class name> will be called.

Definition at line 57 of file irobj.m.

Property log_as_fsel_grades::flag_peaks

Whether the selected features are peaks.

Definition at line 14 of file log_as_fsel_grades.m.

Property irobj::flag_ui
protectedinherited

(GUI setting) Whether to "publish" in blockmenu and datatool. Note that a class can be "published" without a GUI (set flag_params=0 in this case, at the class constructor).

Definition at line 60 of file irobj.m.

Property log_as_fsel::grades
inherited

Grades.

Definition at line 11 of file log_as_fsel.m.

Property irobj::moreactions
protectedinherited

(GUI setting) String cell containing names of methods that may be called from the GUIs

Definition at line 63 of file irobj.m.

Property log_as_fsel_grades::opt_grades

Optimization grades.

Definition at line 11 of file log_as_fsel_grades.m.

Property log_as_fsel_grades::opt_subsets

Optimization sub-sets.

Definition at line 8 of file log_as_fsel_grades.m.

Property irobj::short
protectedinherited

Short for the method name.

Definition at line 53 of file irobj.m.

Property log_as_fsel_grades::threshold

Definition at line 20 of file log_as_fsel_grades.m.

Property irobj::title
inherited

Definition at line 38 of file irobj.m.

Property log_as_fsel_grades::type

Definition at line 17 of file log_as_fsel_grades.m.

Property log_as_fsel::v
inherited

=[]. Indexes of selected features.

Definition at line 8 of file log_as_fsel.m.

Property log_as_fsel::xname
inherited

x-axis label

Definition at line 20 of file log_as_fsel.m.

Property log_as_fsel::xunit
inherited

Unit of x-axis.

Definition at line 23 of file log_as_fsel.m.

Property log_as_fsel::yname
inherited

y-axis label (e.g., "classification rate", "-log_{10}(p-value)")

Definition at line 26 of file log_as_fsel.m.

Property log_as_fsel::yunit
inherited

Unit of y-axis (unit of the values inside grades, e.g., "%")

Definition at line 29 of file log_as_fsel.m.


The documentation for this class was generated from the following file: