BaderLab / netDx

R package with netDx software and data for examples
Other
12 stars 9 forks source link

makePSN_NamedMatrix should flag nets with < 5 values #24

Closed shraddhapai closed 7 years ago

shraddhapai commented 7 years ago

Currently makePSN_NamedMatrix will just apply any function you ask it to, to all input nets. We may want to code in an exception for the default of Pearson correlation and automatically use an alternate method if num points falls below 5. For example, the function could have a param, "lowPoint_func", which could be set to a default of normDiff. Then when num samples falls before 5 (lowPoint_thresh), the code automatically applies lowPoint_func to such nets. It would need to change the file extension of these nets in the output vector, netList.

shraddhapai commented 7 years ago

does this.