emd_heatmap | R Documentation |
Visualize an Earth Mover's Distance Square Matrix as a heatmap
emd_heatmap(input, parameter, maxIter, normalize)
input |
Earth Mover's Distance Matrix or list storing patient time series data (also see function: patient_list) |
parameter |
In case list is input, the parameter of interest from time series data list |
normalize |
Indicates if parameter indicated needs to be normalized or not (TRUE by default) |
Iter |
In case input is time series data list, incate maxIter to calculate EMD matrix (also see function: emd_matrix) |
Visualized Earth Mover's Distance Matrix as a heatmap
list <- patient_list( "https://raw.githubusercontent.com/MrMaximumMax/FBCanalysis/master/demo/phys/data.csv", GitHub = TRUE) #Sampling frequency is supposed to be daily matrix <- emd_matrix(list, "FEV1") emd_heatmap(matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.