moveGenesToRownames: moveGenesToRownames

Description Arguments Value Author(s) Examples

View source: R/countFuns.R

Description

Moves the first column of the counts data.frame to rownames and removes the old column.

Arguments

counts

data.frame; A data frame with counts data.

Value

The counts data.frame is returned with the first column moved to the rownames of the data.frame.

Author(s)

Jason Serviss

Examples

1
2
counts <- data.frame(LETTERS, a = runif(26, 1, 100))
moveGenesToRownames(counts)

jasonserviss/sp.scRNAseqData documentation built on Jan. 8, 2020, 11:46 a.m.