Open stemangiola opened 12 months ago
When using quosures to define the .abundance_scaled column name in the internals, the environment gets carried along and a 1 Mb SummarizedExperiment becomes a 400Mb RDS file.
it can be solved with this
attr(se, "internals")$tt_columns$.abundance_scaled |> attr(".Environment") = NULL
tidybulk should avoid carry the local environment in the object in the first place.
When using quosures to define the .abundance_scaled column name in the internals, the environment gets carried along and a 1 Mb SummarizedExperiment becomes a 400Mb RDS file.
it can be solved with this
tidybulk should avoid carry the local environment in the object in the first place.