Nothing
#' @title read_mtx
#'
#' @description Read `.mtx` file.
#'
#' @param filename The filename.
#' @param dtype Numpy data type.
#'
#' @export
#'
#' @examples
#' \dontrun{
#' ad <- read_mtx("matrix.mtx")
#' }
read_mtx <- function(filename, dtype = "float32") {
python_anndata <- reticulate::import("anndata", convert = FALSE)
filename <- normalizePath(filename, mustWork = FALSE)
py_to_r_ifneedbe(python_anndata$read_mtx(
filename = filename,
dtype = dtype
))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.