bin_genes: Merge consecutive genes into expressed bins

View source: R/bin_genes.R

bin_genesR Documentation

Merge consecutive genes into expressed bins

Description

Merge consecutive genes into expressed bins

Usage

bin_genes(ge_df, mean_exp = 3, nb_cores = 1, rcpp = FALSE)

Arguments

ge_df

the input gene expression with coordinate columns (chr, start, end) and then one column per cell.

mean_exp

the desired minimum mean expression in the bin.

nb_cores

the number of processors to use.

rcpp

use Rcpp function. Default is FALSE. More memory-efficient and faster when running on one core.

Value

a data.frame with bin expression.

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.