Read.Mx3005PSampleInfo: Read sample information file of raw data of Mx3005P RT-qPCR

Description Usage Arguments Value Author(s) Examples

View source: R/ReadMx3005PSampleInfo.R

Description

Read the .txt sample information file of raw data of experiment run on Mx3005P RT-qPCR and use the data to populate an object of "AnnodatedDataFrame".

Usage

1
2
3
Read.Mx3005PSampleInfo(file, removeEmptyCols = FALSE, header = TRUE,
  sep = "\t", quote = "\"", dec = ".", fill = TRUE,
  comment.char = "", skip = 0)

Arguments

file

Name of the file to read in.

removeEmptyCols

a logical value which indicates whether the empty column(s) should be removed or not. It should always be considered as "FALSE" to perform the downstream methods of the work flow.

header

a logical value indicating whether the file contains the names of the variables as its first line. If missing, the value is determined from the file format: header is set to TRUE if and only if the first row contains one fewer field than the number of columns.

sep

the field separator character. Values on each line of the file are separated by this character. If sep = "" (the default for read.table) the separator is 'white space', that is one or more spaces, tabs, newlines or carriage returns.

quote

the set of quoting characters. To disable quoting altogether, use quote = "". See scan for the behaviour on quotes embedded in quotes. Quoting is only considered for columns read as character, which is all of them unless colClasses is specified.

dec

logical. If TRUE then in case the rows have unequal length, blank fields are implicitly added. See read.table.

fill

character: a character vector of length one containing a single character or an empty string. Use "" to turn off the interpretation of comments altogether.

comment.char

character: a character vector of length one containing a single character or an empty string. Use "" to turn off the interpretation of comments altogether.

skip

integer: the number of lines of the data file to skip before beginning to read data.

Value

An object of "AnnodatedDataFrame".

Author(s)

Navneet Phogat, Matthias Kohl, Matthias.Kohl@stamats.de

Examples

1
2
3
Mx3005P.sampleInfo <- file.path(path, "Mx3005P_example_SampleInfo.txt")
Mx3005P.samInfo <- Read.Mx3005PSampleInfo(Mx3005P.SamInfo)
Mx3005P.samInfo [1:5]   ## To visualise first five sample information data

NPhogat/RTqPCR documentation built on July 12, 2020, 12:56 p.m.