Question: diffBind volcano plot error
0
gravatar for rbronste
4 weeks ago by
rbronste60
rbronste60 wrote:

Hi I am getting the following error:

dba.plotVolcano(CR_count,th=0.1,fold=1,method = DBA_DESEQ2_BLOCK, bFlip = TRUE)
Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length

This happens only when I take a .csv sample file and make a secondary file with half of the conditions present in the original, however def enough to do comparisons with. Wondering if this is a bug? Thanks.

ADD COMMENTlink modified 4 weeks ago • written 4 weeks ago by rbronste60
1

If you subset a data.frame that contains a factor (and in so doing you remove one or more levels of the factor), the levels of the factor are not reset. If the levels of that factor are then used for something like generating the rownames of a data.frame, then you can have problems.

However, you have been around long enough to know that you need to provide a self-contained example of the problem and the output of sessionInfo, and without that it's at least as likely to be user error rather than a bug.

ADD REPLYlink written 4 weeks ago by James W. MacDonald52k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 148 users visited in the last hour