View source: R/mutual_exclusivity.R
mutual_exclusivity_pairwise | R Documentation |
Determines whether the data in the KB includes evidence for mutual exclusivity between two given phenotypes.
mutual_exclusivity_pairwise(
phenotype.a,
phenotype.b,
studies = NULL,
charstates = NULL,
quality_opposites = NULL
)
phenotype.a |
character or phenotype object, phenotype ID (IRI) if character, or a phenotype object obtained by passing phenotype ID to as.phenotype() function. |
phenotype.b |
character or phenotype object, phenotype ID (IRI) if character, or a phenotype object obtained by passing phenotype ID to as.phenotype() function. |
studies |
character, a vector of study IDs. This is an optional parameter that acts as a filter in case the determination of mutual exclusivity is to be based only on the evidence found in a particular set of studies. The default is NULL, which means that all studies present in the KB database will be considered for evidence. |
charstates |
dataframe, a dataframe obtained from |
quality_opposites |
dataframe, an optional dataframe containing columns
"quality.a" and "quality.b" to denote pairs of phenotypic quality terms, in
the form of their term IRIs, to be considered opposites of each others.
See documentation under |
See mutually_exclusive()
for details on which links in the data are considered
as strong or weak evidence for mutual exclusivity and compatibility.
A character (string), the mutual exclusivity type among the two phenotypes.
See mutually_exclusive()
for documentation on the possible values, although note
that this function returns these as a character vector, not levels of an ordered factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.