This is a test version of Biostars. For the public version, visit https://www.biostars.org.
TCGA -derived Large RangeSummarizeExperient file

Hello, I am analyzing TCGA data by R.

A Large RangeSummarizeExperient file was available now. And the packages of SummarizedExperiment and GenomicRanges were used to analyze the data file.

The function of rowDate was used to get the sample information, by which a Large DFrame was generated

(Fig 1)enter image description here.

I would like to take several items from the Large DRrame

(Fig. 2)enter image description here.

I am taking a single item individually. It is a little time-consuming. Is there a simple way to do that. Thanks a lot !

analysis data tcga

1 answer

For the end user these DFrames are just regular data.frames, so you can do col_data[,c("barcode", "patient", "whatever")] or just do as.data.frame(col_data). Does that help?

It works well. Thank you very much ! ATpoint

Log in to answer this question.