unique_intercell_network {OmnipathR} | R Documentation

## Unique intercellular interactions

### Description

In the intercellular network data frames produced by `import_intercell_network`, by default each pair of annotations for an interaction is represented in a separate row. This function drops the annotations and keeps only the distinct interacting pairs.

### Usage

    unique_intercell_network(network, ...)

### Arguments

`network` | An intercellular network data frame as produced by `import_intercell_network`.
`...` | Additional columns to keep. Note: if these have multiple values for an interacting pair, only the first row will be preserved.

### Value

A data frame with interacting pairs and interaction attributes.

### See Also

- `import_intercell_network`

- `simplify_intercell_network`

- `filter_intercell_network`

### Examples

    icn <- import_intercell_network()
    icn_unique <- unique_intercell_network(icn)

[Package OmnipathR version 3.0.0 Index]