plotRankDensity_intl: Plot the densities of ranks for one sample

plotRankDensity_intlR Documentation

Plot the densities of ranks for one sample

Description

This function takes a single column data frame, which is a subset of the ranked data obtained from rankGenes()function and gene sets, and it returns plots visualising the density and the rugs of the ran ks.

Usage

plotRankDensity_intl(
  rankData,
  upSet,
  downSet = NULL,
  isInteractive = FALSE,
  textSize = 1.2
)

Arguments

rankData

one column of the ranked gene expression matrix obtained from the rankGenes() function, use drop = FALSE when subsetting the ranked gene expression matrix, see examples.

upSet

GeneSet object, up regulated gene set

downSet

GeneSet object, down regulated gene set

isInteractive

Boolean, determin whether the returned plot is interactive

textSize

numeric, set the size of text on the plot

Value

A ggplot object (optionally interactive) demonstrating the rank density along with rug plot

See Also

"GeneSet"


DavisLaboratory/singscore documentation built on Nov. 21, 2024, 8:17 a.m.