createAnnotation: Create an annotation dataframe

Description Usage Arguments Value Examples

View source: R/generalFunctions.R

Description

Creates a data frame with rows containing the sample names of your flow set that can then be filled in with experimental metadata.

Usage

1
createAnnotation(yourFlowSet)

Arguments

yourFlowSet

the flowSet to create an annotation data frame for

Value

annotation_df a data frame containing the sample names of your flow set

Examples

1
2
3
4
dat <- read.flowSet(path = system.file("extdata", "ss_example",
package = "flowTime"), alter.names = TRUE)
annotation <- createAnnotation(yourFlowSet = dat)
head(annotation)

Example output

Loading required package: flowCore
Loading required package: plyr
     name
1 A01.fcs
2 A02.fcs
3 A03.fcs
4 A04.fcs
5 B01.fcs
6 B02.fcs

flowTime documentation built on Nov. 8, 2020, 8:13 p.m.