degMV: Correlation of the standard desviation and the mean of the...

Description Usage Arguments Value Examples

View source: R/methods.R

Description

Correlation of the standard desviation and the mean of the abundance of a set of genes.

Usage

1
degMV(group, pvalues, counts, sign = 0.01)

Arguments

group

Character vector with group name for each sample in the same order than counts column names.

pvalues

pvalues of DEG analysis.

counts

Matrix with counts for each samples and each gene.

sign

Defining the cutoff to label significant features. row number should be the same length than pvalues vector.

Value

ggplot2 object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(humanGender)
library(DESeq2)
idx <- c(1:10, 75:85)
dds <- DESeqDataSetFromMatrix(assays(humanGender)[[1]][1:1000, idx],
  colData(humanGender)[idx,], design=~group)
dds <- DESeq(dds)
res <- results(dds)
degMV(colData(dds)[["group"]],
      res[, 4],
      counts(dds, normalized = TRUE))

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