All functions |
|
---|---|
Call `main()` |
|
Clips numeric values so that they lie in the range [min_val, max_val] Works on both numeric arrays and dataframes |
|
A wrapper for matrixStats::colMaxs() Returns the minimal numeric value per column in a matrix or a dataframe |
|
A wrapper for matrixStats::colMins() Returns the minimal numeric value per column in a matrix or a dataframe |
|
Cut a tree into groups of data in the order of the tree |
|
Equivalent to python's sys.exit() Stop the script without saving R's status. |
|
Wrapper for data.table::fread. Returns a data.frame instead of a data.table |
|
Efficiently read Matrix Market format |
|
Use `fread()` to read a csv/tsv with row names (e.g. one created with `write.table()`) |
|
Wrapper for data.table::fwrite with NA's saved as "NA" instad of "". |
|
Efficiently write Matrix Market format |
|
Generate RNG seeds for parallel runs |
|
Plot using preview instead of plotting to X device |
|
Rasterize ggplot panel area |
|
Get current plot size for jupyter IRKernel |
|
Tries reading a cached dataframe result from the filename on the right side. If the file is missing, generate the dataframe using the function call on the left side and write the result to the file. If "tgutil.cache" option is FALSE, right side would be always recumputed. |
|
Tries reading a cached matrix result from the filename on the right side. If the file is missing, generate the matrix using the function call on the left side and write the result to the file. If "tgutil.cache" option is FALSE, right side would be always recumputed. |
|
Tries reading a cached dataframe result from the filename on the right side. If the file is missing, generate the dataframe using the function call on the left side and write the result to the file. If "tgutil.cache" option is FALSE, right side would be always recumputed. |
|
cache_df that force recreating the cached file |
|
cache_matrix that force recreating the cached file |
|
cache_rds that force recreating the cached file |
|
Read a character vector from a file created by save_character |
|
Read a dataframe from a file created by save_dataframe |
|
Read a matrix from a file created by save_matrix |
|
Read a numeric vector from a file created by save_numeric |
|
Return the number of the system's logical CPU cores |
|
Return the number of the system's physical CPU cores |
|
Vectorized mean, similiar to |
|
Vectorized sum, similiar to |
|
Read a fastq file to data frame |
|
A wrapper for matrixStats::rowMaxs() Returns the maximal numeric value per row in a matrix or a dataframe |
|
A wrapper for matrixStats::rowMins() Returns the minimal numeric value per row in a matrix or a dataframe |
|
Similar to mclapply, however ensures a reproducible random-number stream for each application of fun() |
|
Write a character vector to a file, preserving cell names. |
|
Writes a dataframe to a file, preserving row names. |
|
Writes a matrix to a file, preserving row and column names. |
|
Write a numeric vector to a file, preserving cell names. |
|
Scale x axis by log2 (similar to scale_x_log10) |
|
Scale y axis by log2 (similar to scale_y_log10) |
|
Segment a dataframe according to consecutive identical values of a column expression. |
|
Set plot size for jupyter IRKernel |
|
Add an axis annotation to a ggplot matrix |
|
Easily plot a matrix as an heatmap using ggplot2 |
|
tgutil. |
|
Write a data frame with "id", "seq" and "qual" to fastq file |