Off topic:How filter rows in data frame ore matrix with different value in their columns???
1
0
Entering edit mode
7.2 years ago
carcarre11 • 0

Hi everyone I have a data frame (and a matrix because I have made one using my data frame to try to filter easily) with clasification of tumors based on RNA expresion. Some samples are clasificate as a different type of tumor depending on the method that the package of R used (it use a random forest method and a single-sample predictor based on similarity-to-centroid approach, with the Pearson coefficient as a similarity measure) I would like filter this data frame to know what samples don´t have the same classification using both methods (filter by rows whose columns don´t have the same value)

Example Image

In this data frame I would like filter and made one with COLON 3, COLON8 (COLON4) Sorry about my English and Thanks

R dataframe matrix filter RNA-Seq • 1.1k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2072 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6