switchplot: Plot gene behaviour

Description Usage Arguments Details Value Examples

View source: R/switchde.R

Description

Plot gene behaviour and MLE sigmoid as a function of pseudotime.

Usage

1
switchplot(x, pseudotime, pars)

Arguments

x

Gene expression vector

pseudotime

Pseudotime vector (of same length as x)

pars

Fitted model parameters

Details

This plots expression of a single gene. Fitted model parameters can either be specified manually or can be extracted from the data.frame returned by switchde using the function extract_pars.

Value

A ggplot2 plot of gene expression and MLE sigmoid

Examples

1
2
3
4

Example output

Input gene-by-cell matrix: 12 genes and  100 cells

switchde documentation built on Nov. 8, 2020, 5:19 p.m.