readGNS: To read the raw intensity data files

Description Usage Arguments Details Value Author(s) Examples

View source: R/readGNS.R

Description

Function readGNS reads the raw intensity files (.csv or .txt) and populate them in an object of Class gnsdt

Usage

1
readGNS(file, type = ".csv")

Arguments

file

raw data file of intensity to be read in

type

choose between .csv or .txt, where .csv is default

Details

Allows the user to read in the raw intensity data and save them in S4 class gnsdt

Value

object of Class "gnsdt" and save the initial data in slot iData

Author(s)

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
##To read the .csv file
file1 <- system.file("exData", "Imager.csv", package = "ReadqPCR")
data <- readGNS(file = file1)
## to visualise all the data with all the slots
data
## to visualise the initial data
slot(data,"iData")
## to read the .txt file
file2 <- system.file("exData", "Iphone_R.txt", package = "ReadqPCR")
data2 <- readGNS(file = file2, type = ".txt")
## to visualize all the data with all the slots
data2
## to visualise the initial data
data2(data2,"iData")

NPhogat/GNSplex documentation built on May 8, 2020, 9:28 p.m.