Dear all,
I am writing to enquire about the spillover function of FlowCore. I am stucked because of an error in matching intensity between the controls.
I am trying to set up my compensation matrix from my flowset(it contains the unstained ctrl + single stained compensation ctrls, ordered 1 to 8 as 1unstained-2FITC, 3PE, 4PE-tr, 5PerCP, 6APC-7, APCCy7, 8PB).
here is my piece o code:
fs[, delcolnames]
A flowSet with 8 experiments.
column names:
FSC-A FITC-A PE-A PE-TexasRed-A PerCP-A APC-A APC-Cy7-A Pacific Blue-A
com.mat=spillover(fs[, delcolnames], unstained = "1.Compensation Controls_Unstained Control.fcs", fsc = "FSC-A", ssc = "SSC-A", method = "median", stain_match = c("intensity", "ordered", "regexpr"), useNormFilt=FALSE, pregate = FALSE, plot = FALSE)
Error: Unable to match stains with controls based on intensity: a single stain matches to several multiple controls.
> traceback()
4: stop("Unable to match stains with controls based on intensity: ",
"a single stain matches to several multiple controls. ",
call. = FALSE)
3: .local(x, ...)
2: spillover(fs[, delcolnames], unstained = "1.Compensation Controls_Unstained Control.fcs",
fsc = "FSC-A", ssc = "SSC-A", method = "median", stain_match = c("intensity",
"ordered", "regexpr"), useNormFilt = FALSE, pregate = FALSE,
plot = FALSE)
1: spillover(fs[, delcolnames], unstained = "1.Compensation Controls_Unstained Control.fcs",
fsc = "FSC-A", ssc = "SSC-A", method = "median", stain_match = c("intensity",
"ordered", "regexpr"), useNormFilt = FALSE, pregate = FALSE,
plot = FALSE)
could please anyone help me? any comments would be much appreciated
thank you in advance!