Skip to contents

export odor response data and supported data

Usage

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)

Arguments

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".

Details

Please load ORs from data package DoOR.data by typing (data(ORs)) before use.

Author

Shouwen Ma <shouwen.ma@uni-konstanz.de>

Examples

if (FALSE) { # \dontrun{
# load data
library(DoOR.data)
library(DoOR.functions)
load_door_data()

# export odorant response data only
export_door_data(".txt", all.data = FALSE)   
} # }