Skip to contents

Fit single cell gene expression data according to cell pseudotime

Usage

fitData(
  data,
  pt = 1:ncol(data),
  expr.cut = 0.1,
  expr.cut.rate = 0.05,
  pseudo.time = colnames(data),
  p.adjust.method = "BH",
  new_data = data.frame(pt = seq(1, ncol(data))),
  verbose = TRUE,
  mc.cores = 1
)

Arguments

data

a single cell expression matrix with rows as genes and columns as cells.

expr.cut

cutoff of lowerest expression

expr.cut.rate

cutoff of cells lower than lowest expression

pseudo.time

cells ranked according to pseudo time

p.adjust.method

method for multiple hypothesis test

new_data

input matrix for model prediction

verbose

show message of running process

mc.cores

number of cores for parallel computing

Value

A list contains scaled fitted gene expression matrix

Details

This function generates a fitted expression matrix of single cell RNA-seq

Author

Zhicheng Ji, Changxin Wan, Beijie Ji