writeToCsv-PharmacoSet-method: Convert all data in an 'PharmacoSet' object to disk as .csv...

writeToCsv,PharmacoSet-methodR Documentation

Convert all data in an 'PharmacoSet' object to disk as .csv files, named per

Description

Convert all data in an 'PharmacoSet' object to disk as .csv files, named per

Usage

## S4 method for signature 'PharmacoSet'
writeToCsv(object, filePath)

Arguments

object

['S4'] An object inheriting from the 'CoreGx::CoreSet' class, such as a 'PharmacoSet', 'RadioSet', 'ToxicoSet'.

filePath

['character'] The path to which the .csv files will be written

Note

This function will create a directory with the same name as the 'object' being written to .csv, unless one already exists. The 'filePath' is automatically appended with the object name, therefore it is not necssary to specify the object name in 'filePath'


bhklab/rPharmacoDI documentation built on Oct. 31, 2022, 11:06 a.m.