Learn R Programming

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.

Copy Link

Version

Install

install.packages('dynutils')

Monthly Downloads

808

Version

1.0.11

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

October 11th, 2022

Functions in dynutils (1.0.11)

switch_devel

Switching of development stage within the dynverse
has_names

Check whether an object has certain names
list_as_tibble

Convert a list of lists to a tibble
is_sparse

Check if an object is a sparse matrix
read_h5

Read/write R objects to a H5 file.
scale_uniform

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

Generate random string
expand_matrix

Expand a matrix with given rownames and colnames
scale_minmax

Rescale data to a [0, 1] range
install_packages

Check package availability
inherit_default_params

Inherit default parameters from a list of super functions
scale_quantile

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

Extend an object
safe_tempdir

Create an empty temporary directory and return its path
recent_news

Print the most recent news
project_to_segments

Project a set of points to to set of segments
tibble_as_list

Convert a tibble to a list of lists
mapdf

Apply a function to each row of a data frame
test_h5_installation

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

Check which packages are installed
add_class

Add class to object whilst keeping the old classes
all_in

Check whether a vector are all elements of another vector
apply_quantile_scale

Apply a quantile scale.
calculate_distance

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

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

Apply a nubnax scale.
apply_uniform_scale

Apply a uniform scale
euclidean_distance

These functions will be removed soon
dynutils

Common functionality for the dynverse packages
is_bounded

Check whether a value within a certain interval
is_single_numeric

Check whether a value is a single numeric
extract_row_to_list

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