| fuzzygene_context_upstream {FuzzyGene} | R Documentation |
fuzzygene_context_upstream(fuzzygene, upstream,
useMutant = TRUE,
minCoverage = 0);
After this call the mutant state of the upstream experiment becomes the reference state of the model, so the next perturbation reports "effect of B given that A is already knocked out" instead of "effect of B from the original baseline".
let round1 = model |> knockouts(c("A")); # A 失活
print(fuzzygene::fuzzygene_context_upstream(model, round1[[1]]));
let round2 = model |> knockouts(c("B")); # 在 A 失活的背景上敲 B
useMutant = TRUE (default) takes MutantMeans; FALSE takes WildtypeMeans, which restores the reference frame of the upstream round. An upstream result flagged as Undefined (the target gene was not modelled) is rejected instead of being silently applied.
a multi line coverage summary, or an R# error object when the context is rejected