Skip to content
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

PlotStars from FlowSOMSubset #6

Open
eghorani opened this issue Nov 17, 2017 · 0 comments
Open

PlotStars from FlowSOMSubset #6

eghorani opened this issue Nov 17, 2017 · 0 comments

Comments

@eghorani
Copy link

Dear Sofie,

Thanks for this excellent package!

I would like to PlotStars for an individual sample from the BuildMST object.

I've tried subsetting the BuildMST object using the FlowSOMSubset command:

fSOM2 <- FlowSOMSubset(fSOM,(fSOM$metaData[[1]][1]):(fSOM$metaData[[1]][2]))

And get the following error when attempting to pass fSOM2 to PlotStars...

Error in fsom$map$medianValues[, markers, drop = FALSE] :
no 'dimnames' attribute for array

For the unsubsetted BuildMST object, fsom$map$medianValues has markers for column names. The subsetted object has numbers instead. Maybe this is part of the issue....?

By adding back the correct column names to fsom$map$medianValues, the plot seems to work fine.

Perhaps I'm using your code incorrectly, or is this a bug that needs a small tweak?

Thanks very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant