Import new data into DoORSource:
Import or update new data and update
ORs and receptor data frames.
import_new_data(file.name, dataFormat = door_default_values("door_data_format"), odor_data = door_default_values("odor"), weightGlobNorm = door_default_values("door_global_normalization_weights"), responseRange = door_default_values("door_response_range"), receptors = door_default_values("ORs"), ident = door_default_values("ident"), round = 3)
character string, the name of given file that contains response values of one or more odorant receptors, either a .csv or .txt file.
data frame, a data frame does not contain any response value but odorant information.
data frame, contains the odorant information.
data matrix, indicates whether given receptor has been measured by given study.
data frame, contains the information about response range of each study and how many odors have been measured in each study.
data frame, contains the receptor and OSN names and their expression.
the identifier used for matching, usually the InChIKey is used.
the number of digits the imported values are rounded to.
import_new_data is used to import new data into database. If
the data contains a new receptor or ORN, then build a new data frame for this
receptor or ORN. If the data contains a receptor that is already present in
database, then merge the imported data into old data frame. The information
(e.g. response range, how many receptors and odors were measured from given
study) will be integrated into data
door_global_normalization_weights. If an existing study
remove_study will be run first in order to perform
Shouwen Ma <[email protected]>
Daniel Münch <[email protected]>