View source: R/export_door_data.R
export_door_data | R Documentation |
export odor response data and supported data
export_door_data(file.format, directory,
odorantReceptors = door_default_values("ORs"),
response_matrix = door_default_values("door_response_matrix"),
responseRange = door_default_values("door_response_range"),
unglobalNorm_RM = door_default_values("door_response_matrix_non_normalized"),
weightGlobNorm = door_default_values("door_global_normalization_weights"),
all.data = TRUE)
file.format |
character string, the format of given file, either ".txt" or ".csv" |
directory |
character string, naming a directory for writing. If missing, the exported data are saved in current working directory. |
odorantReceptors |
data frame, receptor names and expressions |
response_matrix |
data matrix, an global unnormalized responses matrix |
responseRange |
data frame, response ranges for each study |
unglobalNorm_RM |
data matrix, an unnormalized responses matrix |
weightGlobNorm |
data frame, weight matrix for global normalizazion |
all.data |
logical, if TRUE, export odorant response data and supported data "door_response_matrix", "door_response_range", "door_response_matrix_non_normalized", "door_response_matrix", "door_global_normalization_weights" and "ORs". |
Please load ORs from data package DoOR.data by typing (data(ORs)
)
before use.
Shouwen Ma <shouwen.ma@uni-konstanz.de>
## Not run:
# load data
library(DoOR.data)
library(DoOR.functions)
load_door_data()
# export odorant response data only
export_door_data(".txt", all.data = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.