plot_gating_strategy: plot_gating_strategy

Description Usage Arguments Examples

View source: R/hypergate.R

Description

Plot a hypergate return

Usage

1
2
plot_gating_strategy(gate, xp, gate_vector, level, cex = 0.5,
  highlight = "black", path = "./", ...)

Arguments

gate

A hypergate object (produced by hypergate())

xp

The expression matrix from which the 'gate' parameter originates

gate_vector

Categorical data from which the 'gate' parameter originates

level

Level of gate_vector identifying the population of interest

cex

size of dots

highlight

color of the positive population when plotting

path

Where png files will be produced

...

passed to png

Examples

1
2
3
4
5
6
data(Samusik_01_subset)
xp=Samusik_01_subset$xp_src[,Samusik_01_subset$regular_channels]
gate_vector=Samusik_01_subset$labels
hg=hypergate(xp=xp,gate_vector=gate_vector,level=23,delta_add=0.01)
par(mfrow=c(1,ceiling(length(hg$active_channels)/2)))
plot_gating_strategy(gate=hg,xp=xp,gate_vector=gate_vector,level=23,highlight="red")

ebecht/hypergate documentation built on March 9, 2020, 4:05 p.m.