createGrids | R Documentation |
Create grid of rates or counts from two dim data+ e.g. as output from tSNE or UMAP
createGrids(dat, treat, nbin = 50, rate = T)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.