-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
While trying the toy dataset analysis based on the tutorial, I consistently got an error when trying to extract the mutual information and entropy information. There is apparently a double condition (i.e &&) that R signals as an error in the source code. Is there any way to fix this issue?
for (i in 1:length(s)){
ent_mi_data <- calculate_entropy_and_mi(s[[i]], s[[i]]$treatment, mult_factor = 1.5, bin_size = 0.1)
#calculate entropy and mutual info in first andd second element based on treatment
s[[i]]$mutual_inf <- ent_mi_data[["data_dists"]][['MI']]
s[[i]]$entropy <- ent_mi_data[["data_dists"]][["ENT"]]
}
#gives error: Error in well_i != well_j && same_well_only == T : 'length = 2' in coercion to 'logical(1)'
Thanks a lot,
Kind regards,
T.I.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels