bin | R Documentation |
This function computes a pseudospatial distance between beads that combines spatial distance and distance from the expression space, then using the silhouette score and hierarchical clustering, segregates beads into bins
bin(
dat,
md,
k,
pos = TRUE,
pos_k = 55,
ex_k = 1,
hc_function = "ward.D2",
plot_directory
)
dat |
data.table of smoothed relative expression intensities |
md |
data.table of metadata of each bead |
k |
number of malignant bins to set |
pos |
TRUE if doing spatial and expressional binning, FALSE if just expressional binning |
pos_k |
positional weight |
ex_k |
expressional weight |
hc_function |
hierarchical clustering function |
plot_directory |
output plot directory path |
A data.table of bead metadata combined with bin designations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.