map_receptor | R Documentation |
Identifying the source of unknown response data by correlating it agains all DoOR responding units.
map_receptor(data,
response_matrix = door_default_values("door_response_matrix"), sub,
threshold.p, threshold.cor, nshow)
data |
data frame, containing two columns, one called "odorants" and one "responses" providing InChIKeys and odorant responses respectively. |
response_matrix |
output is a numeric vector that contains the Pearson Correlation Coefficient between given data and selected consensus data in |
sub |
character, a subset of responding units returned response matrix |
threshold.p |
numeric, a p-value threshold, only correlations below will be returned |
threshold.cor |
numeric, a correlation-coefficient threshold, only correlations above will be returned |
nshow |
numeric, if defined, only this number of results will be |
Shouwen Ma <shouwen.ma@uni-konstanz.de>
Daniel Münch <daniel.muench@uni-konstanz.de>
# load data
load_door_data(nointeraction = TRUE)
# pick example data
data <- data.frame(odorants = Or22a$InChIKey,
responses = Or22a$Hallem.2004.EN)
data <- na.omit(data)
# find the corresponding receptor / responding unit
map_receptor(data = data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.