readFiles {ddPCRclust} | R Documentation

## Read the csv files from your disk

### Description

This function reads the raw csv files for ddPCRclust from disk and returns the experiment data. Please refer to the vignette for more information on how these files need to be formatted.

### Usage

    readFiles(files)

### Arguments

`files` | The input file(s), specifically csv files. Each file represents a two-dimensional data frame. Each row within the data frame represents a single droplet, each column the respective intensities per colour channel.

### Value

`files` | A data frame composed of the experiment data
`ids` | The file ids, e.g. A01, A02, etc.

### Examples

    # Read files
    exampleFiles <- list.files(paste0(find.package('ddPCRclust'), '/extdata'), full.names = TRUE)
    files <- readFiles(exampleFiles[1:8])

[Package ddPCRclust version 1.8.0 Index]