Question: diffbind change conditions dinamically
0
gravatar for inzirio
3 months ago by
inzirio10
inzirio10 wrote:

Hi,

once loaded a dba object, and already computed the counts, is there a way to change only the design conditions column in order to perform the further steps?

I just want to shuffle the sample conditions without computing the counts again in order to perform the contrasts.

Thanks, inzirio

diffbind conditions edit • 88 views
ADD COMMENTlink modified 12 weeks ago • written 3 months ago by inzirio10
Answer: diffbind change conditions dinamically
0
gravatar for Rory Stark
3 months ago by
Rory Stark2.8k
CRUK, Cambridge, UK
Rory Stark2.8k wrote:

You can add contrasts via dba.contrast(), and when you call dba.analyze(), the new contrasts will be computed without recounting.

If you want to clear all the previous contrasts, you can set myDBA$contrasts=NULL before calling dba.contrast() and/or dba.analyze().

ADD COMMENTlink written 3 months ago by Rory Stark2.8k
Answer: diffbind change conditions dinamically
0
gravatar for inzirio
12 weeks ago by
inzirio10
inzirio10 wrote:

Hi Rory, thanks for replying!

I know about the contrasts, but I'd like to dinamically change the labels for each sample in the conditions column.

Is there a way to do that on the dba object? It is because I need to do some permutation of the samples in order to do some tests with some fake data.

I tried to assign a new factor to the dbaObj$samples$Condition, but it doesn't store my changes.

Thanks!

ADD COMMENTlink written 12 weeks ago by inzirio10
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: 243 users visited in the last hour