View source: R/private_odorant.R
private_odorant | R Documentation |
return an odorant that activates the receptor of interest exclusively
private_odorant(receptor, sensillum = FALSE,
response_matrix = door_default_values("door_response_matrix"),
door_mappings = door_default_values("door_mappings"),
zero = door_default_values("zero"), nshow = 5, tag)
receptor |
character, name of a DoOR responding unit (one of
|
sensillum |
logical, restrict the search to the sensillum the receptor is expressed in? |
response_matrix |
DoOR response matrix, the input data to perform the search on |
door_mappings |
the data frame containing the mapping information |
zero |
character, an odorant that should be set to 0 |
nshow |
numeric, the number of private odorants to return |
tag |
character, the chemical identifier to give the odorant names in
(on of |
a data.frame containing odorants and the response in the receptor of interest as well as the maximum response of the remaining receptors and their difference
# load data
library(DoOR.data)
# find a private odorant for Gr21a.Gr63a (the carbon dioxide receptor)
# private_odorant("Gr21a.Gr63a", tag = "Name")
# now find an odorant that within the ab3 sensillum specifically activates
# Or22a
private_odorant("Or22a", tag = "Name", sensillum = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.