[BioC] flowCore::parameters

Bastian Angermann AngerB at gmx.de
Thu Jul 2 22:23:41 CEST 2009


Hi list,

I am having trouble with the parameters method in flowCore. When applying parameters to an element of multipleFilterResult generated by a tmixFilter, R will throw the following error:
Error in x$parameters : $ operator is invalid for atomic vectors

This came up while trying to apply an other filter to the result of a tmixFilter.

Best,
Bastian Angermann

Here's how to reproduce the error (R 2.9.0 flowCore SVN 39752 /flowClust SVN 39598):

data(GvHD)
fcsData <- GvHD[[1]]

tmixGate <- tmixFilter(parameters=c("FSC-H","SSC-H"), K=1)

recGate <- rectangleGate(.gate=list("FSC-H"=c(0,1000),"SSC-H"=c(0,1000)))
rf <- filter(fcsData,recGate)
tf <-filter(fcsData,tmixGate %subset% rf )

> tf
A filterResult produced by the filter named 'tmixFilter in defaultRectangleGate'
 resulting in multiple populations:
         1
> class(tf)
[1] "multipleFilterResult"
attr(,"package")
[1] "flowCore"
> parameters(tf)
[1] "FSC-H" "SSC-H"
> parameters(tf[[1]])
Error in x$parameters : $ operator is invalid for atomic vectors




-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!



More information about the Bioconductor mailing list