readBeadSummaryTargets {beadarray} | R Documentation

## Create targets object

### Description

Read targets file for a BeadArray experiment into a dataframe.

### Usage

    readBeadSummaryTargets(file = "beadSummaryTargets.txt", path = NULL,  header=T,sep="" )

### Arguments

`file` | character string giving the name of the targets file.
`path` | character string giving the directory containing the file. Can be omitted if the file is in the current working directory.
`header` | if TRUE then header names will be taken from the text file
`sep` | field separator character

### Details

A targets file defines the files containing bead summary information for a BeadArray experiment. Each file may describe either a single array, or a 96-well SAM. The function looks for a file called beadTargets.txt in the current working directory. It should contain a column heading FileName with each of the files to be read listed below.

### Value

A dataframe containing the columns found in the text file

### Author(s)

Mark Dunning, Mike Smith

### Examples

    #beadTargets = readBeadSummaryTargets()

    #can also specify path

    #beadTargets = readBeadTargets(file="otherfile.txt", path="otherdirectory")

[Package beadarray version 1.0.0 Index]