visualizeFeature {OmicsLonDA}R Documentation

Visualize Longitudinal Feature

Description

Visualize Longitudinal Feature

Usage

visualizeFeature(se_object = NULL, text = "featureName",
  unit = "days", ylabel = "Normalized Count", col = c("blue",
  "firebrick"), prefix = "Test")

Arguments

se_object

SummarizedExperiment object contains omics count/level matrix and metadata

text

feature name

unit

time interval unit

ylabel

text to be shown on the y-axis of all generated figures (default: "Normalized Count")

col

two color to be used for the two groups (eg., c("red", "blue")).

prefix

prefix to be used to create directory for the analysis results

Value

null

References

Ahmed Metwally (ametwall@stanford.edu)

Examples

library(SummarizedExperiment)
data("omicslonda_data_example")
omicslonda_se_object_adjusted = adjustBaseline(
                 se_object = omicslonda_data_example$omicslonda_se_object)
omicslonda_test_object = omicslonda_se_object_adjusted[1,]
visualizeFeature(se_object = omicslonda_test_object, text = "Feature_1",
                 unit = "days", ylabel = "Normalized Count", 
                 col = c("blue", "firebrick"), prefix = tempfile())

[Package OmicsLonDA version 1.0.0 Index]