pcrimport {qpcR}R Documentation

Simple qPCR data import function (i.e. from text files or clipboard).

Description

Simple wrapper function to easily import qPCR data from the clipboard (default) or tab-delimited text files.

Usage

  pcrimport(file = "clipboard", sep = "\t", header = TRUE, quote = "", 
            dec = ".", colClasses = "numeric", ...)

Arguments

file the name of the file which the data are to be read from (full path).
sep the field separator character.
header a logical value indicating whether the file contains the names of the variables as its first line.
quote the set of quoting characters.
dec the character used in the file to denote decimal points.
colClasses character. A vector of classes to be assumed for the columns.
... further arguments to be passed on to read.table.

Details

For a more detailed description of the arguments see read.table.

Value

A data frame containing a representation of the data in the file.

Author(s)

Andrej-Nikolai Spiess

Examples

### paste some Excel data into the clipboard ###
## Not run: 
temp <- pcrimport()
## End(Not run)
### from a tab-delimited text file ###
## Not run: 
temp <- pcrimport("c:\temp\foo.txt")
## End(Not run)

[Package qpcR version 1.1-8 Index]