getGlobalRescalingStats: Calculate several base statistics for color rescaling.
Description
calculates several statistics from a large matrix that can then be applied to smaller submatrices without needing to load the entire matrix into memmory
Save the statistics to disk as an RDS file in the local directory?
output_fn
the name of the output file.
Value
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.
# NOT RUN {load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope"))
getGlobalRescalingStats(nbl_result_matrix_sign_small)
# }