Description Usage Arguments Value Examples
Reads dimension of every matrix in npz file.
1 | read_size(path, mtx.names = "all")
|
path |
character, string specifying path to npz file |
mtx.names |
character vector specyfing subset of matrices names to read from npz dict like file; by default all matrices are loaded |
matrix where row names are names of matrices from npz file and columns are rows and cols; each cell of the matrix contains number of rows and columns respectively that contact map with given name consits of
1 2 3 4 | # get sample npz file name
mtx.fname <- system.file("extdata", "MSC-HindIII-1_40kb-raw.npz", package = "DIADEM", mustWork = TRUE)
sizes <- read_size(mtx.fname)
print(sizes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.