RGLab / flowWorkspace

flowWorkspace
GNU Affero General Public License v3.0
44 stars 21 forks source link

Writing individual FCS files from cytoset #340

Closed vivek-verma202 closed 4 years ago

vivek-verma202 commented 4 years ago

Hi @mikejiang and @jacobpwagner, Is there a function to write individual FCS files from a cytoset object? Thanks!

jacobpwagner commented 4 years ago

Just directly use write.FCS:

library(flowCore)
library(flowWorkspace)
data(GvHD)
cs <- flowSet_to_cytoset(GvHD)
output <- tempfile()
write.FCS(cs[[1]], output)
vivek-verma202 commented 4 years ago

Awesome, Thank you!