| set2Frame {MetaCyto} | R Documentation |
A function that combines cells in a flow set into a flow frame.
set2Frame(flowSet)
flowSet |
A flow set object |
Returns a flowFrame object. All cells from flow set are combined into one flow frame. A new parameter, sample_id, is introduced to indicate the origin of each cell.
library(flowCore)
files=system.file("extdata","SDY420/ResultFiles/CyTOF_result",
package="MetaCyto")
files=list.files(files,pattern="fcs$",full.names=TRUE)
flow_set = read.flowSet(files)
flow_frame = set2Frame(flow_set)