rmDupGenes: Remove Duplicate Genes

View source: R/rmDupGenes.R

rmDupGenesR Documentation

Remove Duplicate Genes

Description

Can't make data.frames with duplicate rownames. Have to remove duplicates.

Usage

rmDupGenes(data_dt, idCol_v = "ID", symbolCol_v = "Symbol", method_v = "max")

Arguments

data_dt

data.table of gene expression.

idCol_v

don't think this is needed actually

symbolCol_v

Name of column that contains gene identifiers

method_v

One of "max" (default) or "mean". Max means that the gene with max count will be taken, "mean" means will average them all.


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.