Last data update: 2014.03.03

R: Function "synergySignificant" calculates significant...
synergySignificantR Documentation

Function "synergySignificant" calculates significant synergy/antagonism concentration combinations and saves synergy/antagonism values.

Description

Function "synergySignificant" calculates significant synergy/antagonism concentration combinations and saves synergy/antagonism values.

Usage

synergySignificant(synergyCalculationLists, noOfRows, noOfCols, xDrug, yDrug,
  cellLine)

Arguments

synergyCalculationLists

List of synergy/antagonism calculations.

noOfRows

Number of rows in the experiment.

noOfCols

Number of columns in the experiment.

xDrug

Name of drug at x-axis.

yDrug

Name of drug at y-axis.

cellLine

Cell line or experiment name.

Value

Processed data.

Author(s)

Muhammad kashif

Examples

dataFile <- system.file("/raw/rawDataPreProcessed.csv", package="COMBIA")
dataSample <- read.csv(dataFile, header=FALSE)
nR <- 8
nC <- 10
rslt <- applyBliss(nR, nC,  as.matrix(dataSample ), 100)
synergySignificant(rslt, nR, nC,"A", "B", "Cell")

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/synergySignificant.Rd_%03d_medium.png", width=480, height=480)
> ### Name: synergySignificant
> ### Title: Function "synergySignificant" calculates significant
> ###   synergy/antagonism concentration combinations and saves
> ###   synergy/antagonism values.
> ### Aliases: synergySignificant
> 
> ### ** Examples
> 
> dataFile <- system.file("/raw/rawDataPreProcessed.csv", package="COMBIA")
> dataSample <- read.csv(dataFile, header=FALSE)
> nR <- 8
> nC <- 10
> rslt <- applyBliss(nR, nC,  as.matrix(dataSample ), 100)
> synergySignificant(rslt, nR, nC,"A", "B", "Cell")
            [,1]        [,2]        [,3]       [,4]       [,5]       [,6]
[1,]  0.09532592  0.06609904  0.30215399 0.13360926 0.09018211 0.08384613
[2,]  0.00000000 -0.06259742  0.16956124 0.10366152 0.07031948 0.05482049
[3,] -0.06804088 -0.09587510  0.07781960 0.07863269 0.03831663 0.00000000
[4,] -0.06917553 -0.08113422 -0.06663916 0.07724578 0.04280135 0.00000000
[5,]  0.00000000  0.00000000  0.10638678 0.08712866 0.04272067 0.00000000
[6,]  0.00000000  0.00000000  0.09218060 0.08286177 0.05070071 0.00000000
[7,]  0.00000000  0.00000000  0.05999773 0.00000000 0.00000000 0.00000000
           [,7] [,8] [,9]
[1,] 0.05905237    0    0
[2,] 0.00000000    0    0
[3,] 0.00000000    0    0
[4,] 0.00000000    0    0
[5,] 0.00000000    0    0
[6,] 0.00000000    0    0
[7,] 0.00000000    0    0
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>