Question: DiffBind Change of Metadata once dba.counts have been called
0
gravatar for Lauma R
18 months ago by
Lauma R0
Cambridge
Lauma R0 wrote:

Hi, 

 

Thank you for all support so far. 

I was looking back at previous posts, but couldn't find any question , so I will ask: 

Is it possible to change metadata associated with dba object after dba.counts call. I am trying to understand my principal components better, and for that I would need more associated data. I could not find a way how to add extra data, so I wondered if it is possible to change existing data for  Tissue or Replicate? 

 

 

Kind Regards

Lauma 

ADD COMMENTlink modified 18 months ago by Rory Stark2.9k • written 18 months ago by Lauma R0
Answer: DiffBind Change of Metadata once dba.counts have been called
0
gravatar for Rory Stark
18 months ago by
Rory Stark2.9k
CRUK, Cambridge, UK
Rory Stark2.9k wrote:

While not part of the "official" interface, you can access the metadata fields directly:

myDBA$class[DBA_TISSUE, ]
myDBA$class[DBA_FACTOR, ]
myDBA$class[DBA_CONDITION, ]
myDBA$class[DBA_TREATMENT, ]
myDBA$class[DBA_REPLICATE, ]

You can set these to vectors of character strings to change the values.

 

ADD COMMENTlink written 18 months ago by Rory Stark2.9k

after I change the meta data 

myDBA$class[DBA_TISSUE, ]<- myvector

myDBA$masks is not showing the changed meta data

Thanks!

ADD REPLYlink modified 11 months ago • written 11 months ago by tangming2005150
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: 411 users visited in the last hour