Subsetting and Transforming
0
0
Entering edit mode
smajor • 0
@smajor-12172
Last seen 6.4 years ago

Hello, 

I'm working through the flowCore manual  "flowCore: data structures package for flow cytometry data, N. Le Meur F. Hahne B. Ellis P. Haaland, December 1, 2016" 

In section 4.3 Subsetting it instructs to give the code 


> morphGate <- norm2Filter("FSC-H", "SSC-H", filterId="MorphologyGate",
scale=2)
> smaller <- Subset(fs, morphGate)  # fs is a flowSet
> fs[[1]]

When I input my flowSet, it doesn 't work unless I specify a specific flowFrame,

The error I get:


> morphGate <- norm2Filter("FSC-A","SSC-A", filterId = "MorphologyGate",
                         scale= 2)
> smaller <- Subset(set,morphGate) # set is a non-transformed flowSet
# Error in y[, 1] : incorrect number of dimensions

Up until this point, the flow set has been running fine with the previous code with the same flowSet.

Thank you!

subsetting gate flowcore • 931 views
ADD COMMENT

Login before adding your answer.

Traffic: 998 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6