dot-writeAnnotationToTxt: Write the annotation list in a PharmacoSet to a text file

.writeAnnotationToTxtR Documentation

Write the annotation list in a PharmacoSet to a text file

Description

Each list item is one line, lines in each item are separated with 'sepChar' so they can be split into to their original stucture.

Usage

.writeAnnotationToTxt(
  annotations,
  dsType,
  filePath,
  objectName,
  sepChar = "|||"
)

Arguments

annotations

'list' Annotations as returned by the 'annotaiton' function

dsType

'character(1)'

filePath

'character(1)' The path to save the output file to.

objectName

'character(1)' The name of the PSet the annotations are from.

sepChar

'character(1)' Separator to use when pasting together multiple lines of a list item.

Value

Writes to disk, does not return.


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