plotRankDensity_intl: Plot the densities of ranks for one sample

Description Usage Arguments Value See Also

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

1
2
3
4
5
6
7
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"


singscore documentation built on Nov. 8, 2020, 8:27 p.m.