long_to_bin: Convert to wide bin x genes + metadata format

View source: R/bin.R

long_to_binR 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


dkzhang777/SlideCNA documentation built on Jan. 25, 2025, 5:53 p.m.