readBeadTargets {beadarray} | R Documentation |
Read targets file for a BeadArray experiment into a dataframe.
readBeadTargets(file = "beadTargets.txt", path = NULL, header=T,sep="" )
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 |
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.
A dataframe containing the columns found in the text file
Mark Dunning, Mike Smith
#beadTargets = readBeadTargets() #can also specify path #beadTargets = readBeadTargets(file="otherfile.txt", path="otherdirectory")