Open GWMcElfresh opened 1 week ago
When a cluster is 100% comprised of a single individual, CalculateClusterEnrichment fails in an unexpected way.
It is probably here: https://github.com/bimberlabinternal/CellMembrane/blob/85ff116bf93510f7eac107a5d57d53d034e0e8fe/R/Analysis.R#L384-L390
If a cluster only has one subject, then it probably only has one group and this check fails.
When a cluster is 100% comprised of a single individual, CalculateClusterEnrichment fails in an unexpected way.
It is probably here: https://github.com/bimberlabinternal/CellMembrane/blob/85ff116bf93510f7eac107a5d57d53d034e0e8fe/R/Analysis.R#L384-L390
If a cluster only has one subject, then it probably only has one group and this check fails.