R/NestList.R

Defines functions NestList

Documented in NestList

NestList <- function(x){
  x[order(x$Img_N),] %>%
    group_by(Img_N, Treatment, Experiment, Img_Nuclei_N, Cell_Type, Replicate, Well)%>%
    nest %>%
    apply(., 1, as.list) %>%
    list.group(., Experiment, Cell_Type, Treatment)
}
rubystokes/ECPT_Package documentation built on Dec. 22, 2021, 8:12 p.m.