DiffBind plot.profile error
0
0
Entering edit mode
@59823982
Last seen 11 weeks ago
Italy

Hello, do you know how to resolve the following error?

Error: BiocParallel errors
  1 remote errors, element index: 1
  0 unevaluated and other errors
  first remote error:
Error in DataFrame(..., check.names = FALSE): different row counts implied by arguments

while executing the code:

> results <- dba.analyze(contrast)
> mutants <- dba.report(results, contrast=c(1:2, 4), bDB=TRUE)
Generating report-based DBA object...
> mutant_profiles <- dba.plotProfile(results, sites=mutants)

the error is the same without the specified contrast:

profile <- dba.plotProfile(results)

The results look like this:

> results
8 Samples, 9041 sites in matrix:
          ID Tissue   Factor Condition Treatment Replicate    Reads FRiP
1     X3h1_1     na     X3h1    mutant        na         1 16622186 0.20
2     X3h1_2     na     X3h1    mutant        na         2 16434472 0.19
3     lhp1_1     na     lhp1    mutant        na         1 16125186 0.16
4     lhp1_3     na     lhp1    mutant        na         2 16393211 0.14
5 lhp1_3h1_1     na lhp1_3h1    mutant        na         1 16203922 0.20
6 lhp1_3h1_2     na lhp1_3h1    mutant        na         2 14497532 0.20
7       WT_1     na       WT      wild        na         1 15590707 0.13
8       WT_3     na       WT      wild        na         2 20354129 0.18

Design: [~Factor] | 6 Contrasts:
  Factor    Group Samples Group2 Samples2 DB.DESeq2
1 Factor     lhp1       2    3h1        2      4886
2 Factor lhp1_3h1       2    3h1        2      2435
3 Factor     X3h1       2     WT        2      4563
4 Factor lhp1_3h1       2   lhp1        2      4667
5 Factor     lhp1       2     WT        2       939
6 Factor lhp1_3h1       2     WT        2      5420

I'd be very grateful for your help!

BiocParallel DiffBind • 160 views
ADD COMMENT

Login before adding your answer.

Traffic: 555 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6