Description Usage Arguments Details Value Author(s) See Also Examples
Transforms multiple-image TIFF files or 3D arrays into 2D matrices with a user-specified number of columns
1 | tiff_to_mtx(data, columns)
|
data |
A character string indicating the name of a TIFF file or a 3D array |
columns |
The number of columns of the resulting matrix |
Creates a matrix with a user-specified number of columns and a number of rows equal to the total amount of points in 'data' divided by 'columns'.
A matrix
Alejandro Linares
1 2 3 4 5 6 7 8 9 | ### Please navigate to
### (https://github.com/FCSlib/FCSlib/tree/master/Sample%20Data)
### to find this sample data
x <- readFileTiff("Example_file_name.tif")
class(x); dim(x)
x.m <- tiff_to_mtx(data = x, columns = 64)
class(x.m); dim(x.m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.