intercell_network | R Documentation |
Imports an intercellular network by combining intercellular annotations
and protein interactions. First imports a network of protein-protein
interactions. Then, it retrieves annotations about the proteins
intercellular communication roles, once for the transmitter (delivering
information from the expressing cell) and second, the receiver (receiving
signal and relaying it towards the expressing cell) side. These 3 queries
can be customized by providing parameters in lists which will be passed to
the respective methods (omnipath_interactions
for
the network and intercell
for the
annotations). Finally the 3 data frames combined in a way that the source
proteins in each interaction annotated by the transmitter, and the target
proteins by the receiver categories. If undirected interactions present
(these are disabled by default) they will be duplicated, i.e. both
partners can be both receiver and transmitter.
intercell_network(
interactions_param = list(),
transmitter_param = list(),
receiver_param = list(),
resources = NULL,
entity_types = NULL,
ligand_receptor = FALSE,
high_confidence = FALSE,
simplify = FALSE,
unique_pairs = FALSE,
consensus_percentile = NULL,
loc_consensus_percentile = NULL,
omnipath = TRUE,
ligrecextra = TRUE,
kinaseextra = !high_confidence,
pathwayextra = !high_confidence,
...
)
interactions_param |
a list with arguments for an interactions query;
|
transmitter_param |
a list with arguments for
|
receiver_param |
a list with arguments for
|
resources |
A character vector of resources to be applied to
both the interactions and the annotations. For example, |
entity_types |
Character, possible values are "protein", "complex" or both. |
ligand_receptor |
Logical. If |
high_confidence |
Logical: shortcut to do some filtering in order to
include only higher confidence interactions. The intercell database
of OmniPath covers a very broad range of possible ways of cell to cell
communication, and the pieces of information, such as localization,
topology, function and interaction, are combined from many, often
independent sources. This unavoidably result some weird and unexpected
combinations which are false positives in the context of intercellular
communication. This option sets some minimum criteria to remove most
(but definitely not all!) of the wrong connections. These criteria
are the followings: 1) the receiver must be plasma membrane
transmembrane; 2) the curation effort for interactions must be larger
than one; 3) the consensus score for annotations must be larger than
the 50 percentile within the generic category (you can override this
by |
simplify |
Logical: keep only the most often used columns. This function combines a network data frame with two copies of the intercell annotation data frames, all of them already having quite some columns. With this option we keep only the names of the interacting pair, their intercellular communication roles, and the minimal information of the origin of both the interaction and the annotations. |
unique_pairs |
Logical: instead of having separate rows for each
pair of annotations, drop the annotations and reduce the data frame to
unique interacting pairs. See |
consensus_percentile |
Numeric: a percentile cut off for the consensus
score of generic categories in intercell annotations. The consensus
score is the number of resources supporting the classification of an
entity into a category based on combined information of many resources.
Here you can apply a cut-off, keeping only the annotations supported
by a higher number of resources than a certain percentile of each
category. If |
loc_consensus_percentile |
Numeric: similar to
|
omnipath |
Logical: shortcut to include the omnipath dataset in the interactions query. |
ligrecextra |
Logical: shortcut to include the ligrecextra dataset in the interactions query. |
kinaseextra |
Logical: shortcut to include the kinaseextra dataset in the interactions query. |
pathwayextra |
Logical: shortcut to include the pathwayextra dataset in the interactions query. |
... |
If |
By default this function creates almost the largest possible network of
intercellular interactions. However, this might contain a large number
of false positives. Please refer to the documentation of the arguments,
especially high_confidence
, and the
filter_intercell_network
function. Note: if you restrict the query
to certain intercell annotation resources or small categories, it's not
recommended to use the consensus_percentile
or
high_confidence
options, instead filter the network with
filter_intercell_network
for more consistent results.
A dataframe containing information about protein-protein interactions and the inter-cellular roles of the protiens involved in those interactions.
intercell
intercell_summary
intercell_categories
intercell_generic_categories
intercell
omnipath
pathwayextra
kinaseextra
ligrecextra
unique_intercell_network
simplify_intercell_network
filter_intercell_network
intercell_network <- intercell_network(
interactions_param = list(datasets = 'ligrecextra'),
receiver_param = list(categories = c('receptor', 'transporter')),
transmitter_param = list(categories = c('ligand', 'secreted_enzyme'))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.