rowMatVecDo: perform operations between rows of a mat and a vector

Description Usage Arguments Value

Description

This should be a general approach for rowcorMatVec rowlmMatVec rowranktestMatVec rowttestMatVec In principle, we want to apply arbitrary functions and return a data frame. Currently this is implemented through ddply; later we might use dply to speed up computation plyr can parallel; but dplyr cannot.

Usage

1
rowMatVecDo(mat, vec, fn, ...)

Arguments

mat

expression matrix

vec

a vector of response

fn

a function applied to the data frame with columns gene, expr, vec

...

additional parameters to fn

Value

a data frame


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.