-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_singlecell_expression and pop.MFI no longer working #390
Comments
@bilalmoiz93 can please provide more context on the structure of |
Yes. Here is an example of my gateg object:
It is just the string detailing the node path |
I can reproduce
|
Thank you. I was also able to get the gs_pop_get_stats to work with the example you provided. I dug into the code a bit more and it looks like my desc column is null whereas this is filled out for the relevant fields in your gating set. I think this might be the issue with my pop.MFI return. I will try it after adding descriptions and report back shortly. |
actually i'm not sure how to edit the description. Is there a quick way to do this retroactively after importing the flow set/building gating set? |
Ok that appeared to be the issue. I'm not sure why there is no description when reading it in. I tried reading it in fs <- read.flowSet(path=folder,pattern=".fcs",alter.names=T,description = desc) but that did not work. Instead, I used the following code to remove all non-flourescent channels and then manually alter the description parameter. This worked for me and I was able to get MFI values when using gs_pop_get_stats(gs,gateg,pop.MFI) desc = colnames(fs) for (f in 1:length(fs)){ } |
* re store test * fix cpp11 string conversion #390 * comment out broken test * bump --------- Co-authored-by: mikejiang <[email protected]>
fixed by #391 |
Hello,
I recently had to reinstall all my R packages. I noticed that with the new Flowcore installation, "get_singlecell_expression" no longer works. In fact, it returns
expression = gs_get_singlecell_expression_by_gate(gs,gateg) # get single cell expression values
.Error: Expected string vector of length 1
likewise
gs_pop_get_stats(gs,gateg,type=pop.MFI)
returns
Null data.table (0 rows and 0 cols)
The text was updated successfully, but these errors were encountered: