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.7

  • MINOR CHANGE calculate_distance(): Convert matrices to CsparseMatrix instead of dgCMatrix.

  • MINOR CHANGE calculate_distance(): Pass through the diag argument to proxyC.

  • BUG FIX unit test: Order of attributes is not relevant.

Recent changes in dynutils 1.0.6

  • MINOR CHANGE calculate_distance(): Allow for many more distance measures.

  • BUG FIX: Import desc::desc() where needed.

Dynverse dependencies

Copy Link

Version

Install

install.packages('dynutils')

Monthly Downloads

674

Version

1.0.9

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Robrecht Cannoodt

Last Published

October 8th, 2021

Functions in dynutils (1.0.9)

apply_uniform_scale

Apply a uniform scale
check_packages

Check which packages are installed
calculate_distance

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

Check whether a value within a certain interval
list_as_tibble

Convert a list of lists to a tibble
is_sparse

Check if an object is a sparse matrix
is_single_numeric

Check whether a value is a single numeric
read_h5

Read/write R objects to a H5 file.
random_time_string

Generate random string
mapdf

Apply a function to each row of a data frame
project_to_segments

Project a set of points to to set of segments
extract_row_to_list

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

Common functionality for the dynverse packages
recent_news

Print the most recent news
safe_tempdir

Create an empty temporary directory and return its path
has_names

Check whether an object has certain names
inherit_default_params

Inherit default parameters from a list of super functions
expand_matrix

Expand a matrix with given rownames and colnames
extend_with

Extend an object
install_packages

Check package availability
scale_minmax

Rescale data to a [0, 1] range
scale_quantile

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

Convert a tibble to a list of lists
switch_devel

Switching of development stage within the dynverse
scale_uniform

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

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

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

Check whether a vector are all elements of another vector
apply_minmax_scale

Apply a nubnax scale.
euclidean_distance

These functions will be removed soon
add_class

Add class to object whilst keeping the old classes
apply_quantile_scale

Apply a quantile scale.