Description Usage Arguments Value

This function calculates the Reference Similarity Spectrum (RSS) matrix, based on the given input matrix and the reference data set matrix.

1 2 | ```
calculateRSS(input, ref, method = "pearson", scale = TRUE,
threads = 1)
``` |

`input` |
The input expression matrix, assuming its rows as genes and columns as samples. Its rows are expected to be named by the same types of gene representative (e.g. ENSEMBL IDs) as ref. |

`ref` |
The reference expression matrix, assuming its rows as genes and columns as samples. |

`method` |
The type of correlation to calculate. It allows any method used in the cor function. |

`scale` |
When it is TRUE, similarities of one sample (cell) in the input matrix across the reference samples are central-scaled transformed. |

`threads` |
The number of threads to calculate correlations. |

The RSS matrix, with rows for the input samples and columns for the reference samples.

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.