Question: Convert Flowframe to matrix
0
28 days 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 28 days ago by Jake Wagner100 • written 28 days ago by apurva0
1
28 days ago by
Jake Wagner100
Jake Wagner100 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).