remove_study: Remove a study from DoOR

View source: R/remove_study.R

remove_studyR Documentation

Remove a study from DoOR

Description

Use this function to remove a study from the DoOR database. import_new_data.R uses this function when it detects an existing study during the import process (e.g. because you imported updated data).

Usage

remove_study(study, receptors = door_default_values("ORs"),
  responseRange = door_default_values("door_response_range"),
  weightGlobNorm = door_default_values("door_global_normalization_weights"))

Arguments

study

a string containing the name of the study you want to remove (e.g. 'Bruyne.2001.WT')

receptors

a vector of all the receptors to be checked. Defaults to all receptors exidting in DoOR.

responseRange

the dataframe containing the info about the response ranges of all studies (door_response_range)

weightGlobNorm

the dataframe containing the info about the relative weights between receptors (door_global_normalization_weights)

Author(s)

Daniel Münch <daniel.muench@uni-konstanz.de>

See Also

import_new_data

Examples

# load data
library(DoOR.data)
load_door_data(nointeraction = TRUE)

# remove Bruyne.2001.WT from DoOR
remove_study('Bruyne.2001.WT')


ropensci/DoOR.functions documentation built on Feb. 22, 2024, 9:44 a.m.