Entering edit mode
9.8 years ago
yasjas
▴
70
Hello,
I have this dataframe
chrname start end
1 X 99883667 99894988
2 X 99839799 99854882
3 20 49551404 49575092
4 1 169818772 169863408
5 1 169631245 169823221
6 1 27938575 27961788
and I would like to add in the first column chrname a word "chr" before each word
chrname start end
1 chr X 99883667 99894988
2 chrX 99839799 99854882
3 chr 20 49551404 49575092
4 chr 1 169818772 169863408
5 chr 1 169631245 169823221
6 chr 1 27938575 27961788
I tried with paste and assign but no result?any help please?
I think he just want to append 'chr' to each chromosome as few tools expects data that way.
Didn't test that :)