Description Usage Arguments Details Examples
Extract, generates and export different information from a lum_import object
1 2 3 | lum_export(x, y = NULL, path = NULL, backname = "ackgro",
stanname = "tandar", samplename = "Sample",
dilutionname = "Dilution Factor", batchname = "batch", ...)
|
x |
a |
y |
an optional |
path |
the directory name where all files are exported. The directory
is created according to batch name and system date. Default is |
backname |
character vector that defines background |
stanname |
character vector that defines standard |
samplename |
character vector that defines the name of the samples variable |
dilutionname |
character vector that defines the name of the dilution factor variable |
batchname |
character vector that defines the name of the batch field in CSV |
... |
other parameters of the function |
This function returns a list with all datasets from an object of
class lum_import
. Also is possible to export into several csv files
(for Fluorescence-type data) or zip file (for Bead-type data).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Read all data
imp_path <- system.file(c("inst","extdata"),"plate1.csv",
package="drLumi")
imp <- lum_import(imp_path)
exp <- lum_export(imp)
names(exp)
# See variables
imp$well_vars
# Select only 2
imp$well_vars <- c("Median", "Net MFI")
exp <- lum_export(imp)
head(exp$well)
|
[1] "well" "scurve" "average" "batch" "region"
[6] "sample" "name_batch"
[1] "Median" "Net MFI" "Count" "Result" "Range"
[6] "% Recovery" "Comments"
batch_well_analyte batch well analyte sample median net_mfi
1 plate_1*P1_A1*FGF plate_1 P1_A1 FGF Background0 21 1
2 plate_1*P1_B1*FGF plate_1 P1_B1 FGF Control1 2902 2882
3 plate_1*P1_C1*FGF plate_1 P1_C1 FGF B_sid_13_CSP 18 -2
4 plate_1*P1_D1*FGF plate_1 P1_D1 FGF B_sid_13_DMSO 19 -1
5 plate_1*P1_E1*FGF plate_1 P1_E1 FGF B_sid_13_HBS 17 -3
6 plate_1*P1_F1*FGF plate_1 P1_F1 FGF B_sid_13_AMA1 18 -2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.