olink_boxplot: Boxplot for Olink Data

Description Usage Arguments Value Author(s) Examples

View source: R/boxplot.R

Description

Generate a list of boxplot of NPX vs. grouping variable.

Usage

1
olink_boxplot(se, features, x = NULL)

Arguments

se

a SummarizedExperiment.

features

character(n): the protein names to plot.

x

character(1): the grouping colname in colData(se).

Value

A list of ggplot objects

Author(s)

Ge Tan

Examples

1
2
3
4
5
6
7
8
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))
features <- c("IL8", "MCP-3")
pList <- olink_boxplot(se, features, x = "condition_Factor")

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