degSignature: Plot gene signature for each group and signature

Description Usage Arguments Value Examples

View source: R/signature.R

Description

Given a list of genes beloging to a different classes, like markers, plot for each group, the expression values for all the samples.

Usage

1
2
3
4
5
6
7
8
degSignature(
  counts,
  signature,
  group = NULL,
  metadata = NULL,
  slot = 1,
  scale = FALSE
)

Arguments

counts

expression data. It accepts bcbioRNASeq, DESeqDataSet and SummarizedExperiment. As well, data.frame or matrix is supported, but it requires metadata in that case.

signature

data.frame with two columns: a) genes that match row.names of counts, b) label to classify the gene inside a group. Normally, cell tissue name.

group

character in metadata used to split data into different groups.

metadata

data frame with sample information. Rownames should match ma column names row number should be the same length than p-values vector.

slot

slotName in the case of SummarizedExperiment objects.

scale

Whether to scale or not the expression.

Value

ggplot plot.

Examples

1
2
3

DEGreport documentation built on Nov. 8, 2020, 7:23 p.m.