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