waveST | R Documentation |
Create a waveST
object from an data.frame
, matrix
, or tibble
.
waveST(data, spatial = NA, input = NA, level = 6)
data |
an instance of |
spatial |
cell(n)-by-location(2) matrix, representing coordinates of each cell, see "details" |
input |
location(D^2)-by-gene(2) matrix, representing gene expression over location |
level |
the scale for the gene expression image after input generation, the size of images for input generation should be 2^level |
If spatial
is not given, the class assumes the data is generated input: location(D^2)-by-gene(2).
The class set input
= data
, this is useful when we already have location(D^2)-by-gene(2)
matrix (like settings in simulations).
The content of \code{output} depends on whether use wavelet, and the decomposition methods. The \code{output} is NA once created. The values will be updated once called \code{\link{decompse}}.
a waveST
object
res = kOverA_ST(k = 3, A = 7)
viz = res$viz
df = res$df
wave = waveST(data = df, spatial = viz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.