Displaying 2 results from an estimated 2 matches for "clec2b".
Did you mean:
clec
2010 Mar 30
2
Choosing and preserving a random duplicate
Dear R-Helpers,
I have a dataframe (g10df) formatted like this:
GENE PVAL
1 KCTD12 4.06904e-22
2 UNC93A 9.91852e-22
3 CDKN3 1.24695e-21
4 CLEC2B 4.71759e-21
5 DAB2 1.12062e-20
The rows are ranked in ascending order by PVAL, and I need to end up with
the same relative order. There are duplicate entries for genes in the first
column with corresponding p-values in the second, but the p-values are
unique. I had intended to use the...
2010 Mar 24
1
Deleting duplicate rows in a matrix at random
Hello,
I am relatively new to R, and I've run into a problem formatting my data for
input into the package RankAggreg.
I have a matrix of gene titles and P-values (weights) in two columns:
KCTD12 4.06904E-22
UNC93A 9.91852E-22
CDKN3 1.24695E-21
CLEC2B 4.71759E-21
DAB2 1.12062E-20
HSPB1 1.23125E-20
...
The data contains many, many duplicate gene titles, and I need to remove all
but one of each, which must be chosen at random. I have looked for quite
some time, and I've been unable to find a way to do this. Any help would be
greatly appreciat...