how to edit a .rds file in r?
1
0
Entering edit mode
5 months ago
xxxxxxxx ▴ 20

I have a .rds of geo dataset. Is it possible to edit the .rds file and add some columns in its pdata and remove some data from its fdata and exprs file manually?

dataframe r .rds pdata • 291 views
ADD COMMENT
1
Entering edit mode

How about, importing .rds in the R environment and perform the operations on pretty much everything that you are asking (I assume you have accessed the data using GEOquery and your .rds object is an output of the getGEO function therefore you can access all the matrices as dataframe) and save it again!!

ADD REPLY
1
Entering edit mode
5 months ago
ATpoint 55k

RDS is a storage format based on the saveRDS command, see https://stackoverflow.com/questions/59107717/how-do-i-load-an-rds-file-into-r

Once loaded into R with readRDS it becomes the data object that was saved to disk, so you would need to tell what format you have.

ADD COMMENT

Login before adding your answer.

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