Closed jziggles closed 1 year ago
Hello - just following up on this. Thank you.
Hi,
The weight function had a bug. I believed we have fixed it one or two months ago. Could you please reinstall BITFAM and run the weight function? Or you can use the function below:
BITFAM_weights <- function(BITFAM_list){ result_matrix <- apply(extract(BITFAM_list$Model,"W")[[1]], c(2,3), mean) rownames(result_matrix) <- BITFAM_list$Genes colnames(result_matrix) <- BITFAM_list$TF_used return(result_matrix) }
Best wishes, Shang
Hello - another question for you. I have not been able to use the BITFAM_weights function. I can use the same BITFAM list normally for BITFAM_activities but it throws an error when using BITFAM_weights. Please advise, thanks!