getfdata-method: Gets fluorescence data vectors from 'RDML' object

Description Arguments Value Author(s) Examples

Description

Gets fluorescence data vectors from RDML object for specified method of experiment.

Arguments

request

Output from AsTable method(RDML.AsTable)

dp.type

Type of fluorescence data (i.e. 'adp' for qPCR or 'mdp' for melting)

long.table

Output table is ready for ggplot (See RDML.AsTable for example)

Value

matrix which contains selected fluorescence data and additional information fromm request if long.table = TRUE.

Author(s)

Konstantin A. Blagodatskikh <k.blag@yandex.ru>, Stefan Roediger <stefan.roediger@b-tu.de>, Michal Burdukiewicz <michalburdukiewicz@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
## internal dataset BioRad_qPCR_melt.rdml (in 'data' directory)
## generated by Bio-Rad CFX96. Contains qPCR and melting data.
## Import without splitting by targets/types and with
## custom name pattern.
PATH <- path.package("RDML")
filename <- paste(PATH, "/extdata/", "BioRad_qPCR_melt.rdml", sep ="")
cfx96 <- RDML$new(filename)
## Select melting fluorescence data with sample.type 'unkn'.
library(dplyr)
tab <- cfx96$AsTable()
fdata <- cfx96$GetFData(filter(tab, sample.type == "unkn"),
                        dp.type = "adp")
## Show names for obtained fdata
colnames(fdata)

## End(Not run)

Example output

Loading experiment: All Wells
	run: Amp Step 3_FAM

	run: Amp Step 3_Cy5

Combining Bio-Rad runs

Attaching package:dplyrThe following objects are masked frompackage:stats:

    filter, lag

The following objects are masked frompackage:base:

    intersect, setdiff, setequal, union

 [1] "cyc"                        "A07_katG 315_unkn_Cy5"     
 [3] "A07_katG 315_unkn_EvaGreen" "A08_katG 315_unkn_Cy5"     
 [5] "A08_katG 315_unkn_EvaGreen" "D07_katG 315_unkn_Cy5-2"   
 [7] "D07_katG 315_unkn_EvaGreen" "D08_katG 315_unkn_Cy5-2"   
 [9] "D08_katG 315_unkn_EvaGreen" "H07_katG 315_unkn_Cy5-2_rr"
[11] "H07_katG 315_unkn_EvaGreen" "H08_katG 315_unkn_Cy5-2_rr"
[13] "H08_katG 315_unkn_EvaGreen"

RDML documentation built on June 25, 2019, 5:03 p.m.