**740**wrote:

Dear ALL,

i would like to ask a very specific question regarding the possibility of combining **arrayWeights() **from limma with **duplicateCorrelation(),** in order to increase power for differential expression: (is this possible) and especially appropriate ? Without describing again any specific experimental information for an illustrative example, im posting a link to a specific experimental question that i would like to implement it if it is "valid" (**Possible methodologies for constructing multi-level comparisons in limma**)

Or alternatively, it is "more wise" to implement it in limma with a different model construction(along with some general assumptions based on various diagnostic plots and experimental design) without using duplicate correlation ??

Thank you for your consideration on this matter !!

**39k**• written 4.1 years ago by svlachavas •

**740**

In

?duplicateCorrelation()help function it has an argument named weights:But in the description it mentions

weights

"an optional numeric matrix of the same dimension as object containing weights

for each spot. If smaller than object then it will be filled out the same size".Thus, it needs a different argument than from the object that is produced from

arrayWeights(), or it is plaucible to use it also here ??Any confirmation on this would be beneficial !!

740To use duplicateCorrelation() with array weights, you need to expand the array weights to observation weights using asMatrixWeights(), see below.

39kNote the second sentence: "If smaller than 'object' then it will be filled out the same size." This is what will happen if you pass array weights to

`duplicateCorrelation`

.7.4k