MatrixList2FlowSet <- function(MatrixList){
# V = MatrixList2FlowSet(Data, VarIdentifiers, VarNames, Cls)
#
# INPUT
# MatrixList List of matrices [1:n, 1:d]. Matrix with n observations and d
# features carrying flowcytometry data values.
#
# OUTPUT
# flowFrame
#
# Author: QS 2021
if(!is.list(MatrixList)){
message("Parameter MatrixList is must be of type list.")
return()
}
MyFlowSet = list()
for(i in 1:length(MatrixList)){
MyFlowSet[[i]] = LRN2FlowFrame(MatrixList[[i]])
}
return(flowCore::flowSet(MyFlowSet))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.