| grnscores | R Documentation |
Compute and plot the GRN scores of most representative genes in trajectories and save to file. Integrate gene regulatory networks with gene expression dynamics along the trajectories to calculate a GRN score and identify putative regulators of these cell-fate transitions.
grnscores(
object,
ggrn,
tfs,
transitions,
direction = c("up", "down", "both"),
dir.targets = c("up", "down"),
q.up = 0.95,
q.down = 0.05,
flip
)
## S4 method for signature 'CellRouter'
grnscores(
object,
ggrn,
tfs,
transitions,
direction = c("up", "down", "both"),
dir.targets = c("up", "down"),
q.up = 0.95,
q.down = 0.05,
flip
)
object |
CellRouter object. |
ggrn |
igraph; the gene regulatory network. |
tfs |
character vector; gene names of transcriptional regulators. |
transitions |
character vector; selected transitions of interest. |
direction |
character; plot genes up-regulated, down-regulated or both along trajectories. |
dir.targets |
character; whether the predicted targets are up or down-regulated. |
q.up |
numeric; cutoff to select top q.up transcriptional regulators. |
q.down |
numeric; cutoff to select top q.down transcriptional regulators. |
flip |
boolean; apply coordinate flip (horizontal and vertical) to the plot. |
list; all scores list with scores and targets, and plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.