Description Usage Arguments Value Examples

View source: R/getGlobalRescalingStats.R

calculates several statistics from a large matrix that can then be applied to smaller submatrices without needing to load the entire matrix into memmory

1 | ```
getGlobalRescalingStats(whole_matrix, saveToDisk = F, output_fn = NULL)
``` |

`whole_matrix` |
the whole matrix to get stats for. |

`saveToDisk` |
Save the statistics to disk as an RDS file in the local directory? |

`output_fn` |
the name of the output file. |

A list of the output statistics, including: the global min, max, length, sigma (matrix variance), pos_sigma (variance of the positive values), neg_sigma(variance of the negative values), global mean (global_mu), est_max_cap (global_mu+global_sigma_pos*2), as well as the number of rows and columns of the matrix.

1 2 | ```
load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope"))
getGlobalRescalingStats(nbl_result_matrix_sign_small)
``` |

jamesdalg/CNVScope documentation built on Aug. 4, 2019, 9:24 p.m.

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.