ssc.toLongTable: convert assay data to long format

View source: R/utils.R

ssc.toLongTableR Documentation

convert assay data to long format

Description

convert assay data to long format

Usage

ssc.toLongTable(obj, gene.id, gene.symbol, assay.name = NULL, col.idx = NULL)

Arguments

obj

object of singleCellExperiment class

gene.id

should be in rownames(obj); genes to plot

gene.symbol

should be in rowData(obj)[,"display.name"]; genes to plot

assay.name

character; which assay. NULL for all assays. (default: NULL)

col.idx

character; output extra columns of the colData(obj). NULL for donnot output extra columns. (default: NULL)

Details

convert assay data to table of long format. It can be specified which genes and assays will be contained in the long table.

Value

Returns a data.table


Japrin/sscVis documentation built on March 5, 2025, 10:23 a.m.