Skip to content

Request for a warning message for queries involving non-human proteins #3

@amanda-hi

Description

@amanda-hi

It would be helpful to have a signal condition (either error or warning message) that will be activated when a user requests annotations for a mouse Fc or other non-human protein that doesn't have a cleanly mapped Entrez ID, and therefore is not available in the package. Currently, if a user searches for one of these analytes, they will get no annotation entries back & an error saying the key is invalid. This could be confusing or misleading (they could think they made a mistake with their query, misunderstood how to use the package, etc.).

Example:

reprex::reprex({
      library(SomaScan.db)
      select(SomaScan.db, "10034-16", columns = c("UNIPROT", "ENTREZID"))
})

See this chapter of Advanced R for implementing signaling conditions.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions