You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AggregateExpression function behaves unexpectedly when passing arguments with only one value. pseudo_data<- AggregateExpression(ifnb, assays = "RNA", return.seurat = TRUE, group.by = c("orig.ident","GROUP", "seurat_annotations"))
Which gives: "The following grouping variables have 1 value and will be ignored: GROUP"
It creates a seurat object but that objects metadata are wrong.
I would expect the correct behaviour to be that if it would be ignored then the resulting object should have identical metadata as if that value is not there.
Issue Description
The AggregateExpression function behaves unexpectedly when passing arguments with only one value.
pseudo_data<- AggregateExpression(ifnb, assays = "RNA", return.seurat = TRUE, group.by = c("orig.ident","GROUP", "seurat_annotations"))
Which gives:
"The following grouping variables have 1 value and will be ignored: GROUP"
It creates a seurat object but that objects metadata are wrong.
I would expect the correct behaviour to be that if it would be ignored then the resulting object should have identical metadata as if that value is not there.
Reproducing Code Example
Error Message
Additional Comments
No response
Session Info
The text was updated successfully, but these errors were encountered: