plot_gating_strategy | R Documentation |
Plot a hypergate return
plot_gating_strategy(
gate,
xp,
gate_vector,
level,
cex = 0.5,
highlight = "black",
path = "./",
...
)
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 |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.