channels_contributions {hypergate} | R Documentation |
channels_contributions
Description
Gives scores for the contribution of individual channels to a gating strategy
Usage
channels_contributions(gate, xp, gate_vector, level, beta = 1)
Arguments
gate |
A return from hypergate |
xp |
Expression matrix as in the hypergate call |
gate_vector |
Categorical vector of length nrow(xp) |
level |
A level of gate_vector that identifies the population of interest |
beta |
should be the same as for the hypergate object |
Examples
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)
contribs=channels_contributions(gate=hg,xp=xp,gate_vector=gate_vector,level=23,beta=1)
contribs
[Package hypergate version 0.8.5 Index]