Primary functions

Package primary functions

heat_tree() treeheatr()

Draws and aligns decision tree and heatmap.

draw_tree()

Draws the conditional decision tree.

draw_heat()

Draws the heatmap.

Utility functions

Package primary functions

get_fit()

------------------------------------------------------------------------------------ Get the fitted tree depending on the input `x`.

compute_tree()

Compute decision tree from data set

prediction_df()

Apply the predicted tree on either new test data or training data.

clust_samp_func()

Performs clustering of samples.

clust_feat_func()

Performs clustering or features.

scale_norm()

Performs transformation on continuous variables.

term_node_pos()

Determines terminal node position.

position_nodes()

Creates smart node layout.

prepare_feats()

Prepares the feature dataframes for tiles.

eval_tree()

Print decision tree performance according to different metrics.

align_plots()

Align decision tree and heatmap:

get_cols()

Get color functions from character vectors

get_disp_feats()

Select the important features to be displayed.

prep_data()

------------------------------------------------------------------------------------ Prepare dataset

Datasets

Attached datasets available for use via lazy-loading

penguins

Data of three different species of penguins.

diabetes

Diabetes patient records.

wine

Results of a chemical analysis of wines grown in a specific area of Italy.

wine_quality_red

Red variant of the Portuguese "Vinho Verde" wine.

galaxy

Galaxy dataset for regression.

train_covid

Training dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18. Containing NAs.

test_covid

External test dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18.