How do I extract data for 300 genes from a matrix of 22,000 genes over five samples?

3 views (last 30 days)
I am trying to extract data for 300 genes out of a matrix of 22,000 genes (rows) over 5 samples (columns). What's the best way to do that? Creating objects and indexing? I don't really know much about Matlab so I'm not even sure where to start.
I am ultimately trying to create subsets like those used in ROBNCA.
  3 Comments
Adam Hug
Adam Hug on 29 Jun 2015
I was able to download the ROBNCA software listed on their site:
The authors appear to be generating subsets by logically indexing into their gene expression and connectivity matrices. If you're unfamiliar with logical indexing, here's a helpful explanation to get you started:
Alternatively, you can use MATLAB's "find" function to do the same thing:

Sign in to comment.

Answers (0)

Categories

Find more on Bioinformatics Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!