Count pairwise interactions
Usage
count_pairwise_interactions(nn, feature_vector)
Arguments
- nn
A graph object
- feature_vector
A vector of identities associated with the graph object, such as cell types.
Value
A table with rows indicating "from" type and columns indicating "to" type for each possible pairing of cell
types present in feature_vector
. The return will include absent cell types if feature_vector
is a factor with
levels that map to those cell types.