readBeadTargets {beadarray} | R Documentation

## Create targets object

### Description

Read targets file for a BeadArray experiment into a dataframe.

### Usage

    readBeadTargets(file = "beadTargets.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 image file and file containing bead centre information for each array in a BeadArray experiment. The function looks for a file called beadTargets.txt in the current working directory.

### Value

A dataframe containing the columns found in the text file

### Author(s)

Mark Dunning, Mike Smith

### Examples

    #beadTargets = readBeadTargets()

    #can also specify path

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

[Package beadarray version 1.4.0 Index]