Description Usage Arguments Value
View source: R/prepare_lasso_data.R
after model building the resulting counts matrix and the ids data frame do not contain rownames (spot names / spatial information). This function matches spatial positions of lasso and raw ids and integrates the information into the lasso model.
1 | prepare_lasso_data(ids_raw, ids_lasso, counts_lasso)
|
ids_raw |
data frame containing spatial information as built by load_ids from and ST barcode file |
ids_lasso |
data frame containing ids of lasso spots. For this the order in which spots are stored in the lasso models needs to be known: idx = i*x_max + j; 0 <= i <= x_max-1, 1 <= j <= y_max |
counts_lasso |
the model that is built in build_lassos, containing 34*32 spots without rownames |
list containing two elements
counts - the count matrix with rownames and reduced to original spots
ids - the lasso ids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.