I am working on a matrix with rows as 3000 individuals and columns as coverage depth of millions of sites
Usually I would use R to process this dataset. But it is too big that R cannot take it
For each value in this huge matrix, I need to know whether it is >=10 or <10. I would hope to return a matrix with rows as samples and columns as site but each cell with value of 1 if the depth >=10 and value of 0 if depth < 0. I wonder how I could do this?
Thank you very much!