-
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
dyngen 1.0.0 #27
Merged
dyngen 1.0.0 #27
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #27 +/- ##
==========================================
+ Coverage 63.49% 68.95% +5.46%
==========================================
Files 20 22 +2
Lines 2257 2654 +397
==========================================
+ Hits 1433 1830 +397
Misses 824 824
Continue to review full report at Codecov.
|
…format using a parameter (#28).
…reference library size & CPM distribution.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This version mostly upgrades dyngen's ease-of-use, such as better vignettes, conversion functions for working with dyngen datasets in other packages, and more useful ways of specifying platform-specific parameters (i.e. number of cores and cache location). Perhaps more excitingly, the dyngen documentation is more readable online at https://dyngen.dynverse.org!
BREAKING CHANGES
wrap_dataset()
: Now returns a list instead of a dyno object. Useas_dyno(model)
orwrap_dataset(model, format = "dyno")
to replicate previous behaviour.NEW FEATURES
Added functions for converting the dyngen output to various data formats:
as_anndata()
for anndata,as_sce()
for SingleCellExperiment,as_seurat()
for Seurat,as_dyno()
for dyno,as_list()
for a simple list object.wrap_dataset()
: Added 'format' argument which allows choosing the output format (dynwrap
should be anImports
dependency, notSuggests
#28).The default number of cores used can be set by adding
options(Ncpus = ...)
to your Rprofile.The default cache folder for dyngen can be set by adding
options(dyngen_download_cache_dir = ...)
to your Rprofile.Combine similar models with different outputs using the
combine_models()
function.Store the timings throughout the dyngen execution. Extract the timings from a model using
get_timings()
.MAJOR CHANGES
generate_experiment()
: Map count density of reference dataset to simulation expression before sampling molecules.Parameters are available for toggling off or on the mapping of the reference library size & CPM distribution.
MINOR CHANGES
initialise_model()
: Change defaults ofnum_cores
anddownload_cache_dir
to
getOption("Ncpus")
andgetOption("dyngen_download_cache_dir")
respectively.generate_experiment()
: Drastically speed up sampling of molecules.BUG FIX
as_dyno()
: Fixdrop = FALSE
bug when only one cell is being sampled.Removed names from feature ids in feature info (
unname(model$feature_info$feature_id)
). Thanks @milanmlft!DOCUMENTATION
Added and extended vignettes:
Created a website at https://dyngen.dynverse.org using pkgdown.
Shortened examples to reduce r cmd check time.