Skip to contents

Interactions having references

Usage

with_references(data, resources = NULL)

Arguments

data

An interaction data frame.

resources

Character: consider only these resources. If `NULL`, records with any reference will be accepted.

Value

A subset of the input interaction data frame.

Examples

cc <- import_post_translational_interactions(resources = 'CellChatDB')
with_references(cc, 'CellChatDB')