buildLongTable-character-method: LongTable build method from character

buildLongTable,character-methodR Documentation

LongTable build method from character

Description

LongTable Create a LongTable object from a single .csv file

Usage

## S4 method for signature 'character'
buildLongTable(from, rowDataCols, colDataCols, assayCols)

Arguments

from

character Path to the .csv file containing the data and metadata from which to build the LongTable.

rowDataCols

list List with two character vectors, the first specifying one or more columns to be used as cell identifiers (e.g., cell-line name columns) and the second containing any additional metadata columns related to the cell identifiers.

colDataCols

list List with two character vectors, the first specifying one or more columns to be used as column identifiers (e.g., drug name columns) and the second containing any additional metadata columns related to the column identifiers.

assayCols

list A named list of character vectors specifying how to parse assay columns into a list of data.tables. Each list data.table will be named for the name of corresponding list item and contain the columns specified in the character vector of column names in each list item.

Value

A LongTable object containing one or more assays, indexed by rowID and colID.


bhklab/CoreGx documentation built on March 14, 2024, 3:04 a.m.