freadCSV2lineHeader: Read a CSV file with a 2-line header

Description Usage Arguments Value

Description

A CSV file with a 2-line header is frequently output by CellProfiler when merging separate object outputs is set in ExportToSpreadsheet module. The output contains merged outputs from different objects (e.g. cytosol, nucleus), which means that the header consists of 2 lines, first with object name, second with the measurement name. These two lines are merged in this function.

Usage

1
freadCSV2lineHeader(in.file, in.col.rem = NULL)

Arguments

in.file

Name of the CSV file.

in.col.rem

String vector with column names to remove

Value

Data table with column names set according to 2 first lines of the header, i.e. merged with '_'.


dmattek/hcs-package documentation built on May 16, 2019, 7:24 a.m.