readFiles: Read the csv files from your disk

Description Usage Arguments Value Examples

View source: R/ddPCRclust.R

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

1

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

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

ddPCRclust documentation built on Nov. 8, 2020, 6:06 p.m.