Entering edit mode
crysis405
▴
10
@crysis405-10875
Last seen 6.0 years ago
I would like to edit my fcs file just like its possible in fcsexpress (image bellow). I have attempted the following:
fcs_hq <-flowCore::read.FCS(PT1, transformation = FALSE) params <- flowCore::parameters(fcs_hq) desc <- flowCore::description(fcs_hq) #Adding a new column fnames <- c(featureNames(params), "$P17") out_data <- flowCore::flowFrame(all_data) new_params <- flowCore::parameters(out_data) flowCore::description(out_data) <- setNames(as.list((new_params)$desc), featureNames(new_params)) Biobase::featureNames(new_params) <- fnames
https://www.denovosoftware.com/site/manual/index.html?viewing_and_changing_fcs_file_.htm
But whenever I import it with
fcsparser-0.1.2-py3.5
I get this error:
UserWarning: The default channel names (defined by the $PnS parameter in the FCS file) were not unique. To avoid problems in downstream analysis, the channel names have been switched to the alternate channel names defined in the FCS file. To avoid seeing this warning message, explicitly instruct the FCS parser to use the alternate channel names by specifying the channel_naming parameter.