View source: R/dplot_across_ru.R
dplot_across_ru | R Documentation |
barplot of DoOR responses of a set of odorant across all responding units in DoOR
dplot_across_ru(odorant,
response_matrix = door_default_values("door_response_matrix"),
odor_data = door_default_values("odor"),
zero = door_default_values("zero"), tag = "Name", limits,
base_size = 12)
odorant |
character vecto, one or several InChIKeys |
response_matrix |
DoOR response matrix, a DoOR response matrix as data source |
odor_data |
data frame, contains the odorant information. |
zero |
character, an InChIKey of the odorant that should be set to 0 |
tag |
character, the chemical identifier to plot as odorant name (one of colnames(odor)) |
limits |
numeric of length 2, if provided the ylim will range accordingly |
base_size |
numeric, the base font size for the ggplot2 plot |
a ggplot object
Daniel Münch <daniel.muench@uni-konstanz.de>
# load data
library(DoOR.data)
library(DoOR.functions)
data(odor)
# plot activation pattern of one or several odorants
dplot_across_ru(trans_id("123-92-2"), tag = "CAS")
dplot_across_ru(odor$InChIKey[4:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.