Displaying 2 results from an estimated 2 matches for "snp_".
Did you mean:
snp
2009 Nov 09
1
Using something like the "by" command, but on rows instead of columns
Hello R Forum users,
I was hoping someone could help me with the following problem. Consider the following "toy" dataset:
Accession SNP_CRY2 SNP_FLC Phenotype
1 NA A 0.783143079
2 BQ A 0.881714811
3 BQ A 0.886619488
4 AQ B 0.416893034
5 AQ B 0.621392903
6 AS B 0.031719125
7 AS NA 0.652375037
"Accession" = individual plants, arbitrarily identified by uniq...
2009 Oct 22
2
Replacing multiple elements in a vector !
Hi,
I have a vector with elements
rs.id=c(''rs100'',''rs101'',''rs102'',''rs103'')
And a dataframe ''snp.id''
1 SNP_100 rs100
2 SNP_101 rs101
3 SNP_102 rs102
4 SNP_103 rs103
Task is to replace rs.id vector with corresponding ''SNP_'' ids in snp.id.
Thanks in advance.
Praveen Surendran
2G, Co...