Question: Subsetting and Transforming
gravatar for smajor
23 months ago by
smajor0 wrote:


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",
> 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!

ADD COMMENTlink modified 23 months ago by Martin Morgan ♦♦ 22k • written 23 months ago by smajor0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 203 users visited in the last hour