Learn R Programming

ddCt (version 1.28.0)

QuantStudioFrame: Read QuantStudio file(s)

Description

Read QuantStudio file(s)

Usage

QuantStudioFrame(file) readQuantStudio(file)

Arguments

file
Character vector of filenames

Value

SDMFrame

Details

This function reads the data given in the QuantStudio output files

Examples

Run this code
sampdat <- QuantStudioFrame(system.file("extdata", c("QuantStudio_File1.txt", "QuantStudio_File2.txt"),package="ddCt"))

## use the getter methods
sampleNames(sampdat)

## or the overloaded primitive accessors
sampdat[1:3,"Sample"]

## see all unique samples
uniqueSampleNames(sampdat)

## replace all sample names 'Sample1' and 'Sample2' in sampdat
## with 'NewSample1' and 'NewSample2'
uniqueSampleNames(sampdat,c("Sample1","Sample2")) <- c("NewSample1","NewSample2")
uniqueSampleNames(sampdat)

## or use this syntax to replace the gene names
uniqueDetectorNames(sampdat) <- c(Hs00559368_m1="Gene1", Hs02576168_g1="Gene2")
uniqueDetectorNames(sampdat)

Run the code above in your browser using DataLab