| knockouts {bnlearn} | R Documentation |
knockouts(bnlearn, geneNames);
the behavior of this function is determined by the strict option of the input network model: an error will be thrown when the target gene is missing from the network model in the strict mode, otherwise the wildtype expression data will be returned as the result with the Undefined flag marked as TRUE.
a vector of the InterventionResult perturbation result: the WildtypeMeans is the wildtype expression value of each gene, the MutantMeans is the expression value of each gene after the gene has been knocked out, and the FoldChanges, PercentChanges, ZScores and IsSignificant data is the differential analysis result of the perturbation.