spread_measure
measures how data points from the same groups
concentrate in the network.
spread_measure(obj_mapper, group_ind)
obj_mapper | An object of class |
---|---|
group_ind | A vector of group names each of the samples belongs to. |
A scalar which is the spread measure of the graph.
How it is computed
tp_data <- chicken_generator(1) tp_data_mapper <- mapper.sta(dat = tp_data[,2:4], filter_values = tp_data$Y, num_intervals = 10, percent_overlap = 70) tp_spread <- spread_measure(tp_data_mapper, tp_data$Group) tp_spread