Convert Flowframe to matrix
1
0
Entering edit mode
apurva • 0
@apurva-21041
Last seen 2.3 years ago

Hello,

I have read a FCS file using the flowCore package and for my further analysis need to convert this flow frame to a matrix. But I am getting this error. Error in as.vector(data) : no method for coercing this S4 class to a vector Can someone help me convert a flowframe to matrix?

flowcore fcs flow cytommetry matrix conversion • 657 views
2
Entering edit mode
Jake Wagner ▴ 280
@jake-wagner-19995
Last seen 11 months ago

Do you just want the matrix of the measured intensities? If so then the exprs method will extract that slot. So, if fr is your flowframe, exprs(fr).