Re: [R] how to replace values in a named vector

2020-09-14 Thread Rui Barradas
Hello, Please Ana, post data in dput format. And the expected output too. Hope this helps, Rui Barradas Às 17:37 de 14/09/20, Ana Marija escreveu: sorry not replace with NA but with empty string for a name, for example for example this: geneSymbol["Ku8QhfS0n_hIOABXuE"] Ku8QhfS0n_hIOABXuE

Re: [R] how to replace values in a named vector

2020-09-14 Thread Ana Marija
sorry not replace with NA but with empty string for a name, for example for example this: > geneSymbol["Ku8QhfS0n_hIOABXuE"] Ku8QhfS0n_hIOABXuE "MACC1" would go when I subject it to > geneSymbol["Ku8QhfS0n_hIOABXuE"] Ku8QhfS0n_hIOABXuE On Mon, Sep 14, 2020 at 11:35 AM Ana Marija