long_to_bin {SlideCNA} | R Documentation |
Convert to wide bin x genes + metadata format
Description
This function will combine beads into bins, taking the average expression intensities, average positions, most common cluster seurat cluster, and most common cluster/tissue type of constituent beads
Usage
long_to_bin(dat_long, plot_directory, spatial = TRUE)
Arguments
dat_long |
data.table of bead expression intensities per gene with metadata in long format |
plot_directory |
output plot directory path |
spatial |
True if using spatial information |
Value
data.table of expression intensities at aggregated bin level
[Package SlideCNA version 0.1.0 Index]