Question: Convert Flowframe to matrix
0
4 months ago by
apurva0
apurva0 wrote:

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?

modified 4 months ago by Jake Wagner130 • written 4 months ago by apurva0
1
4 months ago by
Jake Wagner130
Jake Wagner130 wrote:

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).