Learn R Programming

⚠️There's a newer version (1.0.11) of this package.Take me there.

dynutils

Provides common functionality for the dynverse packages. An overview of this functionality is available using the ?dynutils command or in the examples vignette.

dynverse is created to support the development, execution, and benchmarking of trajectory inference methods. For more information, check out dynverse.org.

Latest changes

Check out news(package = "dynutils") or NEWS.md for a full list of changes.

Recent changes in dynutils 1.0.4

  • BUG FIX recent_news(): do not prepend subsections.

  • BUG FIX switch_cran(): add missing version variable.

  • REMOVAL update_news() remove this function as R 3.6 natively supports markdown news format.

Recent changes in dynutils 1.0.3 (2019-05-02)

  • FUNCTIONALITY: Added test_h5_installation().

  • BUG FIX: Added compatibility workaround for being able to read hdf5 1.10.4 files on a hdf5 1.8.14 Windows platform (hhoeflin/hdf5r#60).

  • FUNCTIONALITY: calculate_distance() and calculate_similarity() now support sparse matrix calculation thanks to proxyC!

  • SMALL CHANGES: Remove dependencies: glue, Hmisc, devtools, testthat, tidyr.

Dynverse dependencies

Copy Link

Version

Install

install.packages('dynutils')

Monthly Downloads

819

Version

1.0.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Robrecht Cannoodt

Last Published

October 3rd, 2019

Functions in dynutils (1.0.4)

is_sparse

Check if an object is a sparse matrix
inherit_default_params

Inherit default parameters from a list of super functions
has_names

Check whether an object has certain names
read_h5

Read/write R objects to a H5 file.
random_time_string

Generate random string
extract_row_to_list

Extracts one row from a tibble and converts it to a list
mapdf

Apply a function to each row of a data frame
project_to_segments

Project a set of points to to set of segments
all_in

Check whether a vector are all elements of another vector
install_packages

Install packages, but first ask if interactive
extend_with

Extend an object
expand_matrix

Expand a matrix with given rownames and colnames
is_bounded

Check whether a value within a certain interval
is_single_numeric

Check whether a value is a single numeric
safe_tempdir

Create an empty temporary directory and return its path
recent_news

Print the most recent news
list_as_tibble

Convert a list of lists to a tibble
scale_uniform

Rescale data to have a certain center and max range.
switch_devel

Switching of development stage within the dynverse
scale_minmax

Rescale data to a [0, 1] range
test_h5_installation

Tests whether hdf5 is correctly installed and can load/write data
tibble_as_list

Convert a tibble to a list of lists
scale_quantile

Cut off outer quantiles and rescale to a [0, 1] range
add_class

Add class to object whilst keeping the old classes
calculate_distance

Calculate (column-wise) distances/similarity between two matrices
apply_uniform_scale

Apply a uniform scale
euclidean_distance

These functions will be removed soon
dynutils

Common functionality for the dynverse packages
check_packages

Check which packages are installed
calculate_mean

Calculate a (weighted) mean between vectors or a list of vectors
apply_minmax_scale

Apply a nubnax scale.
apply_quantile_scale

Apply a quantile scale.