how to edit a .rds file in r?
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?
• 4,079 views
•
link
1 answer
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.
• 0 views
•
link
Log in to answer this question.
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
GEOqueryand your .rds object is an output of thegetGEOfunction therefore you can access all the matrices as dataframe) and save it again!!