writeWide: Write out a data frame-like object in a wide format

Description Usage Arguments Details Methods (by class) See Also Examples

Description

Write out a data frame-like object in a wide format

Usage

1
2
3
4
5
writeWide(object, ...)

## S4 method for signature 'ScreenDesign'
writeWide(object, file = "", blank = "blank",
  untreated = "untreated", nothing = "NULL", ...)

Arguments

object

a ScreenDesign object

...

other parameters to pass to write.table

file

either a character string naming a file or a connection open for writing. "" indicates output to the console.

blank

string to use for blank wells

untreated

string to use for untreated control wells, e.g. the name of the growth medium

nothing

string to use in cases where nothing should be added to a well

Details

A ScreenDesign object is a data frame in a "long" format. This function converts it to wide, e.g. 8X12 for a 96 well plate, then writes it out to a file in CSV format

Methods (by class)

See Also

ScreenDesign, write.table

Examples

1
2
3
4
5
compounds = readCompoundFile(system.file("extdata/8_compounds/8_compounds.csv",
                                         package="SynergyScreen"))
screen = new("SynergyScreen", compound_list=compounds)
screen = generateDesign(screen, type="12 doses exp")
writeWide(design(screen), file="8_compounds_design_wide.csv")

ybukhman/SynergyScreen documentation built on May 4, 2019, 2:31 p.m.