--- layout: post title: "Use Case Table for Fminer" description: "Important use-cases and command line arguments / web service switches are presented below. The list is not complete! See [fminer README](https://github.com/amaunz/fminer2/blob/master/fminer/README) and [web services README](http://github.com/opentox/algorithm) for a more complete overview." category: Usage tags: [Algorithm, Fminer, Feature Generation, BBRC, LAST-PM, Tutorials] --- {% include JB/setup %} **Important use-cases and command line arguments / web service switches are presented below. The list is not complete! See [fminer README](https://github.com/amaunz/fminer2/blob/master/fminer/README) and [web services README](http://github.com/opentox/algorithm) for a more complete overview. ** ## BBRC |Usecase                                        |Commandline  |Webservice                         |API| |:-------|:-----------|:----------|:--| |_n_-Frequent Subgraph Mining (w/o adding activities)|-f _n_|-|SetMinfreq( _n_ )
SetChisqActive(false)| |_n_-Frequent Subgraph Mining (w added activities)|-d -b -f _n_ -p _0.0|backbone=false
min_frequency= _n_
min_chisq_significance= 0|SetDynamicUpperBound(false)
SetBackbone(false)
SetMinfreq( _n_ )
SetChisqSig( _0.0_ )| |_n_-Frequent
Class-Correlated ( _p_ -value as lower bound) Subgraph Mining|-d -b -f _n_ -p _p_|backbone=false
min_frequency= _n_
min_chisq_significance= _p_ |SetDynamicUpperBound(false)
SetBackbone(false)
SetMinfreq( _n_ )
SetChisqSig( _p_ )| |Backbone Refinement Class Mining ( _p_ -value as lower bound)|-f _n_ -p _p_ |min_frequency= _n_
min_chisq_significance= _p_|SetMinfreq( _n_ )
SetChisqSig( _p_ )| ## LAST-PM |Usecase                                        |Commandline  |Webservice                         |API                  | |:-------|:-----------|:----------|:--| |Latent Structure Pattern Mining|-f _n_ |min_frequency= _n_|SetMinfreq( _n_ )| **Note:** * In BBRC, two modes for _n_-frequent subgraph mining are available. The first one does not use activity information, whereas the second one uses it to indicate occurrences of subgraphs per class (for nominal activities), which can be interesting despite deliberately not taking class correlation into account during the mining process. Importantly, if you use the webservice for this setting, make sure that every compound _has_ an activity, otherwise it will be ignored. * For all settings (except web service) [environment variables](https://raw.github.com/amaunz/fminer2/master/fminer/README) play a major role for the output format. Supported are gSpan and SMARTS, the latter as CSV or YAML. Moreover, _p_-values can be requested instead of $latex \chi^2$ test statistics.** **A special case is the [output of hit counts](/algorithm/2012/05/02/support-calculation-in-fminer). While on the command line, there is a special environment variable, the webservice must be passed a special switch: -d "nr_hits".