read.datacounts: Read data counts in CSV format

Description Usage Arguments Value Author(s)

View source: R/format-common.R

Description

Read data counts from a file ‘datacounts.csv’ in the directory dataset. The CSV file should contain two columns for every dataset. Each pair of columns must contain a unique name in the first cell of the first row and a valid colour in the second cell of the first row. In the remaining rows, the X coordinates of data counts should be in the first column and the Y coordinates should be in the second column.

Usage

1
read.datacounts(dataset)

Arguments

dataset

Path to directory containing dataponts.csv

Value

List containing

Ds

List of sets of data counts. Each set comprises a 2-column matrix and each set is named.

cols

List of colours for each dataset. There is one element that corresponds to each element of Ds and which bears the same name.

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.