This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can we select a csv file rows that contain information in a certain column in R?

How can we select a csv file rows that contain information in a certain column in R?

For example, I have a csv file, which has a column called "index" but not all the rows has information on that column. I only need these rows that has information on the index. How can I select these rows and subset them in R?

enter image description here

r

Hello cabioc!

We believe that this post does not fit the main topic of this site.

This is not a bioinformatics question. Please search Stack Overflow.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

Hi RamRs

Thanks for your reply. Actually, it is part of my bioinformatics questions. I have a set of single cell RNA seq data need to combine their FACS sorting data, and only the sorting with "index" information are the one fits with RNA seq. I need to extra these rows.

But I agree it is quite basic and could be just an upstream question for many data analysis, not only for bioinformatics.

Thanks

Please edit your post and add this explanation there. Also, see How to add images to a Biostars post to add your images properly. You need the direct link to the image, not the link to the webpage that has the image embedded (which is what you have used here)

I just got answer to solve the question from "Stack Overflow". Thank you! You pointed the place fits the question.

0 answers

No answers yet.

Log in to answer this question.