celltrek_from_dist | R Documentation |
CellTrek from a pre-computed SC-ST distance matrix
celltrek_from_dist( dist_mat, coord_df, dist_cut, top_spot = 10, spot_n = 10, repel_r = 5, repel_iter = 10, sc_data, sc_assay = "RNA", st_data = NULL )
dist_mat |
Distance matrix of sc-st (sc in rows and st in columns) |
coord_df |
Coordinates data frame of st (must contain two columns as coord_x, coord_y and rownames as barcodes) |
dist_cut |
Distance cutoff |
top_spot |
Maximum number of spots that one cell can be charted |
spot_n |
Maximum number of cells that one spot can contain |
repel_r |
Repelling radius |
repel_iter |
Repelling iterations |
sc_data |
SC data |
sc_assay |
SC assay |
st_data |
ST data, optional |
A list of 1.Seurat object
celltrek_res <- celltrek_from_dist(dist_mat, coord_df, dist_cut, top_spot=10, spot_n=10, r=NULL, sc_data, sc_assay='RNA')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.