DiffBind Change of Metadata once dba.counts have been called
1
0
Entering edit mode
Lauma R ▴ 10
@lauma-r-14513
Last seen 5.5 years ago
Cambridge

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 

diffbind. change of metadata • 908 views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.1k
@rory-stark-5741
Last seen 12 days ago
Cambridge, UK

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 COMMENT
0
Entering edit mode

after I change the meta data 

myDBA$class[DBA_TISSUE, ]<- myvector

myDBA$masks is not showing the changed meta data

Thanks!

ADD REPLY

Login before adding your answer.

Traffic: 884 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