Description Usage Arguments Details Examples
Append data columns to a flowFrame
1 | cf_append_cols(cf, cols, cred = NULL)
|
cf |
A |
cols |
A numeric matrix containing the new data columns to be added. Must has column names to be used as new channel names. |
It is used to add extra data columns to the existing flowFrame. It handles
keywords and parameters properly to ensure the new flowFrame can be written
as a valid FCS through the function write.FCS
.
1 2 3 4 5 6 7 8 9 10 | library(flowCore)
data(GvHD)
tmp <- GvHD[[1]]
cf <- flowFrame_to_cytoframe(tmp)
kf <- kmeansFilter("FSC-H"=c("Pop1","Pop2","Pop3"), filterId="myKmFilter")
fres <- filter(cf, kf)
cols <- as.integer(fres@subSet)
cols <- matrix(cols, dimnames = list(NULL, "km"))
cf <- cf_append_cols(cf, cols)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.