compareReference: Compare array data with references (e.g., tissue, cell types)

View source: R/tissue.R

compareReferenceR Documentation

Compare array data with references (e.g., tissue, cell types)

Description

Compare array data with references (e.g., tissue, cell types)

Usage

compareReference(
  ref,
  betas = NULL,
  stop.points = NULL,
  query_width = 0.3,
  show_sample_names = FALSE
)

Arguments

ref

the reference beta values in SummarizedExperiment. One can download them from the sesameData package. See examples.

betas

matrix of betas for the target sample This argument is optional. If not given, only the reference will be shown.

stop.points

stop points for the color palette. Default to blue, yellow.

query_width

the width of the query beta value matrix

show_sample_names

whether to show sample names (default: FALSE)

Value

grid object that contrast the target sample with references.

Examples


sesameDataCache() # if not done yet
compareReference(sesameDataGet("MM285.tissueSignature"))
sesameDataGet_resetEnv()


zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.