scaleDataWithStats | R Documentation |

Scale data with given mean and standard deviations

scaleDataWithStats(A, mean_vec, sd_vec, margin = 1, thresh = 10)

`A` |
expression matrix (genes by cells) |

`mean_vec` |
vector of mean values |

`sd_vec` |
vector of standard deviation values |

`margin` |
1 for row-wise calculation |

`thresh` |
threshold to clip max values |

A matrix of scaled expression values.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.