flowPlate-method: Create a flowPlate

Description Usage Arguments Value Author(s) Examples

Description

Constructor for a flowPlate object. sampleNames for the flowSet should match the Well.Id column of wellAnnotation. Well.Ids must be unique to sampleNames, which is usually ensured by using the 3 character designations for wells (e.g. "A01","A02",...,"H12").

Usage

1

Arguments

data

flowSet object to be made into a flowPlate

wellAnnotation

data.frame describing the layout and contents of the flowPlate

plateName

Name of the flowPate, should be unique within the set flowPlates under consideration

...

optional arguments

Value

Returns a flowPate object.

Author(s)

Errol Strain

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
library(plateCore)
data(plateCore)

## Get the lymphocytes
rectGate <- rectangleGate("FSC-H"=c(300,700),"SSC-H"=c(50,400))
pbmcPlate <- Subset(pbmcPlate, rectGate)

## Create a flowPlate object from the platePBMC and the wellAnnotation
fp <- flowPlate(pbmcPlate,wellAnnotation,plateName="P1")

## Subset the flowPlate, creating another flowPlate
fpSmall <- fp["A01"]

## Extract a flowFrame from a flowPlate
ff <-fp[["A01"]]

## Retrieve sample names from flowPlate
sampNames <- sampleNames(fp)

## Retrieve the annotatedDataFrame describing the flowPlate
adf <- phenoData(fp)

plateCore documentation built on May 2, 2018, 4:36 a.m.