I'll ask users to input their own string. As everyone know here, user are unpredictable. I expect this string will be the most wtf string I will got from my users :)
I got something like this for each greek letters but I can't figure it out how to create my expression in once. Because I can't iterate on my paste for each greek letter, then, at the end create the expression. Or greek letters will be display as normal string.
I need to detect my greek letters word in my string (maybe as zx8754 suggest above), to transform them into "real" greek letters then after to paste the result
@Bastien: Pure R questions like this are best asked elsewhere.
Edit: Perhaps there is a bioinformatics angle. Are you trying to label an axis with a greek character?
I'm trying to display labels for IgH locus of mm10 (gamma3, gamma1, mu etc...)
I have GRanges with these locus as name and I want to create an expression vector with it
Probably would be better if you could share example GRanges object, and expected output.
Why do you need the entire GRanges ?
In my GRanges, first line I have as name :
myrangammadomsequenmuce15874withsomephigreek2874lettergamma
I want to create an expression with that and append this expression to a vector of expression...etc
Then second line, I take the name, then I append the vector of expression.
I know how to loop over my GRanges and append a vector. I'm just stuck at expression creation
OK, still wondering how did you end up with that string.
I'll ask users to input their own string. As everyone know here, user are unpredictable. I expect this string will be the most wtf string I will got from my users :)
How did you come up with that string, where is it from?
my
str
string is pure training but covers all cases.