Description Usage Arguments Value
Previously: calculate_spatial_genes_python. This method computes a silhouette score per gene based on the spatial distribution of two partitions of cells (expressed L1, and non-expressed L0). Here, rather than L2 Euclidean norm, it uses a rank-transformed, exponentially weighted function to represent the local physical distance between two cells.
1 2 3 4 5 6 7 8 9 10 11 12 13 | silhouetteRank_test(
gobject,
expression_values = c("normalized", "scaled", "custom"),
subset_genes = NULL,
overwrite_input_bin = TRUE,
rbp_ps = c(0.95, 0.99),
examine_tops = c(0.005, 0.01, 0.05, 0.1, 0.3),
matrix_type = "dissim",
num_core = 4,
parallel_path = "/usr/bin",
output = NULL,
query_sizes = 10L
)
|
gobject |
giotto object |
expression_values |
expression values to use |
subset_genes |
only run on this subset of genes |
overwrite_input_bin |
overwrite input bin |
rbp_ps |
fractional binarization thresholds |
examine_tops |
top fractions to evaluate with silhouette |
matrix_type |
type of matrix |
num_core |
number of cores to use |
parallel_path |
path to GNU parallel function |
output |
output directory |
query_sizes |
size of query |
data.table with spatial scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.