Learn R Programming

OperaMate (version 1.4.0)

cellLoad: Data importing

Description

Extracts data of a specific type in a list of expData objects to initialize a cellData object.

Usage

cellLoad(object, lstPlates, ...)
"cellLoad"(object, lstPlates, positive.ctr = NULL, negative.ctr = NULL, neglect.well = NULL, expwell = NULL)

Arguments

object
a cellData object
lstPlates
a list of expData objects
...
other parameters
positive.ctr
a character vector, the positive control well IDs, e.g. c("E05", "E06")
negative.ctr
a character vector, the positive control well IDs, e.g. c("B05", "B06")
neglect.well
a character vector, the neglect wells. Accept regular expression, e.g. c("*02", "*23")
expwell
include all wells except control and neglect.well if NULL

Value

a cellData object, with initialized slot origin.data

Details

negative.ctr accept regular expression

Examples

Run this code
data(platemap)
platemap$Path <- file.path(
system.file("Test", package = "OperaMate"), platemap$Path)
data(demoCell)
datapath <- file.path(system.file("Test", package = "OperaMate"), "Matrix")
lstPlates <- loadAll(cellformat = "Matrix", datapath = datapath)
oneCell <- cellLoad(oneCell, lstPlates, neglect.well = c("*02", "*23"))
str(oneCell["origin.data"])

Run the code above in your browser using DataLab