.allRatioMatr1to2 {wrMisc} | R Documentation |
Calculate ratios for each column to each column of reference-matrix
Description
This function calculates ratio(s) for each column of matrix 'x' versus all/each column(s) of matrix 'y' (reference)
Usage
.allRatioMatr1to2(x, y, asLog2 = TRUE, sumMeth = "mean", callFrom = NULL)
Arguments
x |
(matrix or data.frame) main input1 |
y |
(matrix or data.frame) main input2 |
asLog2 |
(logical) |
sumMeth |
(character) method |
callFrom |
(character) allow easier tracking of messages produced |
Value
This function returns a numeric vector or matrix in dimension of 'x' (so far summarize all ratios from mult division from mult ref cols as mean or median )
See Also
Examples
.allRatioMatr1to2(matrix(11:14, ncol=2), matrix(21:24, ncol=2))
[Package wrMisc version 1.15.1 Index]