createGrids: Create grid

View source: R/rateDiff.R

createGridsR Documentation

Create grid

Description

Create grid of rates or counts from two dim data+ e.g. as output from tSNE or UMAP

Usage

createGrids(dat, treat, nbin = 50, rate = T)

Arguments

dat

data.frame with two vectors (e.g. umap/tSNE) as first two colums

rate

calulate rates (divide by number of rows for the respective treatment)

trea

treatment vector, same order dat rows

bin

number of bins of the resulting grid


mknoll/dataAnalysisMisc documentation built on Nov. 17, 2024, 9:40 a.m.