datSplit: Split a drug-response data

Description Usage Arguments Value

Description

This split the data into a list so that each element is a list. This is useful if the data contains multiple cell lines or multiple drugs for the same cell line Currently it only allows splitting by one variable (one column). If data contains both multiple cell lines and multiple drugs, a customized function needs to be written for data formatting.

Usage

1
datSplit(dat, colNames, by, minReplicate = 3, verbose = TRUE)

Arguments

dat

input data with multiple cell lines for one drug

colNames

colNames to name selected columns

by

string for the colName (just one column allowed) used for split

minReplicate

if a subset does not have nrow exceeding this, throw an error

verbose

whether to produce warning message

Value

a list of the split data frames


nickytong/drexplorer documentation built on May 23, 2019, 5:08 p.m.