CreateBin-methods: Create a binned annotation column from numeric data

CreateBinR Documentation

Create a binned annotation column from numeric data

Description

Bin the UMI data into 13 bins for plotting and define a blue <- red color gradient

Usage

CreateBin(x, group = "nUMI", where = "sample", colFun = bluered)

Arguments

x

the BioData object

group

the group (defaule = 'nUMI'

where

in the samples (sample) or annotation (gene) data frame (sample)

colFun

colory function default= bluered


stela2502/BioData documentation built on Feb. 27, 2025, 6:20 a.m.