-
Notifications
You must be signed in to change notification settings - Fork 6
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
dynwrap
should be an Imports
dependency, not Suggests
#28
Comments
Hey Scott! Thanks for your input! As is, dynwrap should indeed be an import instead of a suggest. The reason that I'm not immediately agreeing is because I'm considering making dynwrap less mandatory to use dyngen in order to reduce the dependency stack. With the upcoming release, you can convert the output of dyngen to a dyno, anndata, Seurat or SCE object. However, I didn't think about the fact that This wouldn't solve your problem as you would still need to install dynwrap, SingleCellExperiment, Seurat or anndata in order to get the data you want, but maybe you already have one of those packages installed? Robrecht |
↑ see commit above :) |
Amazing! This is a much better solution, thanks! To be clear, none of these (except |
Exactly. I just pushed a solution that should work for you. Either you install dynwrap/anndata/SingleCellExperiment and get an object that works nicely with other packages by using The only object missing from the output created by I suppose this solves your problem? :) Once I'm happy with the solution, I'll merge it to devel and publish it on CRAN with the next release. |
This is excellent, thank you! If you're looking for suggestions on API, I would suggest if the user doesn't specify which to use, it chooses based on what is available (to ensure the default behaviour doesn't throw an error regardless of installation preferences.) |
Thanks for the suggestion! I'm afraid I can't change the behaviour of a function based on the host system, as it could lead to some very unexpected behaviour (e.g. user mainly uses SingleCellExperiment but at some point also installs Seurat, which format should be used). However, I can set the default to 'list'. It is the least useful of all the formats, but the one that will certainly work on whatever system you're running it. Is this okay for you? |
You're right that that seems like the lowest risk of unexpected behaviour, but would be a shame to make the default behaviour less useful than the alternatives -- perhaps a default of |
Sorry Scott, but I'm keeping it as is. If you want an SCE, just use Good news through, thanks to CRAN I can still include these changes in release 1.0.0! :) |
Example code:
Result:
The text was updated successfully, but these errors were encountered: