Last data update: 2014.03.03

R: This function calculates Loewe synergy/antagonism and...
applyLoeweR Documentation

This function calculates Loewe synergy/antagonism and associated BIs.

Description

This function calculates Loewe synergy/antagonism and associated BIs.

Usage

applyLoewe(rawDataPreProcessed, xConcentration, yConcentration, nBoot)

Arguments

rawDataPreProcessed

Raw preprocessed experimental data.

xConcentration

X drug concentrations tested in an experiment.

yConcentration

Y drug concentrations tested in an experiment.

nBoot

Number of times to bootstrap in order to calculate BIs.

Value

Three lists, first containing Loewe Synergy/Antagonism, lower and upper bound of corresponding BI. Second list consists of global BI for maximum synergy observed in the experiment and third contains global BI of maximum antagonism.

Author(s)

Muhammad kashif

Examples

library(gdata)
dataFile <- system.file("/raw/rawDataPreProcessed.csv", package="COMBIA")
dataSample <- read.csv(dataFile, header=FALSE )
xConc <- c(0.00,  0.20,  0.39,  0.78,  1.56,3.12,  6.25, 12.50, 25.00, 50)
yConc <- c(128,  64,  32,  16,   8,   4,   2,   0)
noOFBoot <- 50
rslt <- applyLoewe(as.matrix(dataSample), xConc, yConc, noOFBoot)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(COMBIA)
Loading required package: hash
hash-2.2.6 provided by Decision Patterns

Loading required package: gdata
gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.

gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED.

Attaching package: 'gdata'

The following object is masked from 'package:stats':

    nobs

The following object is masked from 'package:utils':

    object.size

The following object is masked from 'package:base':

    startsWith

Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: oro.nifti
oro.nifti 0.5.2
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/COMBIA/applyLoewe.Rd_%03d_medium.png", width=480, height=480)
> ### Name: applyLoewe
> ### Title: This function calculates Loewe synergy/antagonism and associated
> ###   BIs.
> ### Aliases: applyLoewe
> 
> ### ** Examples
> 
> library(gdata)
> dataFile <- system.file("/raw/rawDataPreProcessed.csv", package="COMBIA")
> dataSample <- read.csv(dataFile, header=FALSE )
> xConc <- c(0.00,  0.20,  0.39,  0.78,  1.56,3.12,  6.25, 12.50, 25.00, 50)
> yConc <- c(128,  64,  32,  16,   8,   4,   2,   0)
> noOFBoot <- 50
> rslt <- applyLoewe(as.matrix(dataSample), xConc, yConc, noOFBoot)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>