pbmc_small_nested <- pbmc_small_cell_type |> filter(first.labels != "Erythrocytes") |> mutate(cell_class=dplyr::if_else(`first.labels` %in% c("Macrophages", "Monocytes"), "myeloid", "lymphoid")) |> nest(data=-cell_class)## Warning: There were 2 warnings in `mutate()`. ## ...