Learn R Programming

pGRN (version 0.3.5)

data_transform: Pseudotime based Expression Data Transformation

Description

Based on single-cell pseudotime information, get the sliding window average expression, and then standard normlize the expression for each gene

Usage

data_transform(data, pseudotime, slide_window_size = 100, slide_step_size = 50)

Value

Transformed new matrix

Arguments

data

expression matrix data

pseudotime

list of pseudotime

slide_window_size

sliding window size

slide_step_size

sliding window step size

Examples

Run this code
data <- matrix(1,100,1000)
ptime <- seq(1:1000)
data_transform(data,
               ptime,
               slide_window_size=100,
               slide_step_size=50)

Run the code above in your browser using DataLab