Skip to content

Ambiguous error message in internal agglomeration #767

@TuomasBorman

Description

@TuomasBorman

Certain functions can give bad error message when column is not found from rowData. This is affecting more than the following function as this comes from internal agglomeration function (check all). User cannot do anything based on this information --> improve the message (catch the cause in internal agglomeration function)

library(mia)
data("GlobalPatterns")
summarizeDominance(GlobalPatterns, rank = "test")

Error: 'f' must have the same number of rows as 'x'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions