vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

R function for s4 object

Open zzxahahah opened this issue 1 year ago • 0 comments

Hi,

It is hard to preview S4 objects in vscode-r compared with Rstudio

For example, in bioinformatic research, single-cell RNA-seq Seurat object, sometimes it can be extremely big.

1726483341954

In Rstudio it can be previewed like this, and I wanted to emulate it.

1726483309983

I just add some codes in vsc.R (to read the S4 object), and change the code of session.ts to show the contents. Seurat object and its' source data dgCmatrix has been tested.

1726483617379

Wish this can help to deal with nested data like S4 objects.

zzxahahah avatar Sep 16 '24 10:09 zzxahahah