channels_contributions: channels_contributions

Description Usage Arguments Examples

View source: R/hypergate.R

Description

Gives scores for the contribution of individual channels to a gating strategy

Usage

1
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

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)
contribs=channels_contributions(gate=hg,xp=xp,gate_vector=gate_vector,level=23,beta=1)
contribs

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