Generate UpSet Plot on Intersection of Significant Genes from scMaSigPro object. It is a wrapper `UpSetR::upset`.

plotIntersect(
  scmpObj,
  min_intersection_size = 1,
  keep_empty_groups = FALSE,
  width_ratio = 0.1,
  show_sets_size = FALSE,
  return = FALSE
)

Arguments

scmpObj

An object of class ScMaSigPro.

min_intersection_size

Minimal number of observations in an intersection for it to be included.

keep_empty_groups

Whether empty sets should be kept (including sets which are only empty after filtering by size)

width_ratio

Ratio of the overall set size width to intersection matrix width.

show_sets_size

The overall set sizes plot, e.g. from upset_set_size()

return

If set to true, it will return dataframe from the UpSetR::fromList(). (Default is TRUE)

Value

upset object for 'UpSetR'.

Author

Priyansh Srivastava spriyansh29@gmail.com