Description Usage Arguments Value
View source: R/TestAndCorr_p.R
This calculated result between rows of mat and vec but at each group at a time as specified by the group vector It should be more flexible than rowcorMatMat which requires the same genomic mat; instead, here different group of analysis can have different sample size in genomics
1 2 3 |
mat |
a matrix, i.e. gene expression |
vec |
a vector of phenotype, continuous variable |
group |
a vector, categorical variable |
fn |
function to apply, e.g. rowttestMatVec, rowcorMatVec |
addAll |
whether to calculate correlation by using all data ignoring group; this is the overall correlation |
parallel |
deprecated; parallel is automatically enabled when core>1 |
core |
number of cores to use; when core>1, parallel execution is enabled |
returnEarly |
return early for the fitted list; useful for rowanovamatVec since array is not feasible due to different dimensions of fits |
... |
additional parameters to fn |
a 3D array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.