olink_heatmap: Heatmap of Olink results

Description Usage Arguments Value Author(s) Examples

View source: R/heatmap.R

Description

Given the tibble object from olink_limma, plot a heatmap of significant proteins.

Usage

1
olink_heatmap(tb, se, p.value = 0.05, log2FC = 0, ...)

Arguments

tb

A tibble object from olink_limma function.

se

A SummarizedExperiment object.

p.value

numeric(1): The p.value cutoff for significance level.

log2FC

numeric(1): The log2FC cutoff for significance level.

...

graphical parameter passed to pheatmap.

Value

An invisible pheatmap object.

Author(s)

Ge Tan

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
npxFn <- system.file("extdata",
                     c("20200507_Inflammation_NPX_1.xlsx",
                       "20200625_Inflammation_NPX_2.xlsx"),
                     package = "OlinkR")
metaFn <- system.file("extdata", "Inflammation_Metadata.xlsx", package = "OlinkR")
se <- as_se(read_npx(npxFn, metaFn))
tb <- olink_limma(se,
                  factorCol = "condition_Factor",
                  contrasts = "Glucose.10mM.Vehicle - Vehicle.Vehicle",
                  blocking = "Donor_Factor")
olink_heatmap(tb, se)

ge11232002/OlinkR documentation built on Jan. 17, 2022, 8:28 p.m.