combCounts: Combine two count tables

View source: R/loadData.R

combCountsR Documentation

Combine two count tables

Description

Combine two count tables

Usage

combCounts(x, y, xName = NULL, yName = NULL)

Arguments

x

data.frame object representing the first count table. Entries must be numeric with columns representing samples and rownames are unique gene names.

y

data.frame object representing the second count table following the same rules as x. Both x and y must have shared rownames (gene) meaning the nomenclature must be the same and there must be at least SOME shared genes. Genes not shared between samples will be removed. Gene order does not matter.

xName

Character indicating an optional identifier added to the colnames of x. Default is NULL.

yName

Character indicating an optional identifier added to the colnames of y. Default is NULL.

Value

data.frame object of combined x and y where the rownames are shared genes and columns are samples.


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.