Learn R Programming

flowWorkspace (version 3.16.0)

getKeywords,flowJoWorkspace,character-method: Get Keywords

Description

Retrieve keywords associated with a workspace

Usage

"getKeywords"(obj, y, ...)
"getKeywords"(obj, y, ...)

Arguments

obj
A flowJoWorkspace
y
ccharacter or numeric specifying the sample name or sample ID
...
other arguments sampNloc a character the location where the sample name is specified. See parseWorkspace for more details.

Value

A list of keyword - value pairs.

Details

Retrieve a list of keywords from a flowJoWorkspace

Examples

Run this code
require(flowWorkspaceData)
  d<-system.file("extdata",package="flowWorkspaceData")
  wsfile<-list.files(d,pattern="manual.xml",full=TRUE)
  ws <- openWorkspace(wsfile);

  getSamples(ws)
  res <- try(getKeywords(ws,"CytoTrol_CytoTrol_1.fcs"), silent = TRUE)
  print(res[[1]])
  getKeywords(ws, 1)

Run the code above in your browser using DataLab