SC2Spa.sva.SelectGenes

SC2Spa.sva.SelectGenes(Weights, percent=0.5)

Trace back the weight matrices to evaluate the importance of genes in location prediction

Parameters

Weights

The reverse weight matrices

percent

The percentage of nodes selected for each layer

Returns

imp_sumup

The sums of nodes’ values along the second axis for the weight matrix of the first layer of the neural network

t

a boolean vector. True if the sum of one gene is among the top percent