get the genes connected to a TARGET GENE under each condition.

getCondRelated(gs, pcor0 = 1e-04, partcorr.list, conditions = NULL)

Arguments

gs

character, 'gene selected' or 'TARGET GENE': e.g. "GAPDH", "CD4",...

pcor0

numeric, the threshold for partial correlations. values greater than pcor0 will be kept.

partcorr.list

list of partial correlation matrices

conditions

a vector of names for each condition. e.g.: if the list has two matrices, here conditions = c("ConditionA","ConditionB")

Value

a table of partial correlations for genes connected to TARGET GENE under all conditions