Hi Jun.
This is the intended behaviour. Basically, it does pattern (i.e.
grep) matching:
> indexOf(cdf,"2315")
[1] 1 2 3 4 5 6 7 8 9 3235
4875 5057
[13] 8639 10708 11957 15825
> grep("2315",getUnitNames(cdf))
[1] 1 2 3 4 5 6 7 8 9 3235
4875 5057
[13] 8639 10708 11957 15825
If you want exact matching, you might consider the following:
> indexOf(cdf,names="2315554")
[1] 3
Cheers,
Mark
On 06/03/2009, at 6:35 AM, Jun wrote:
>
> Hi,
>
> I notice this and am not sure whether this is the intended behavior of
> this function.
>
> units = indexOf(cdf, 'A293'),
>
> which will give ALL the units with names starting with 'A293' instead
> of the ONE unit 'A293' (I wok with a custom cdf).
>
> Jun
> >
------------------------------
Mark Robinson
Epigenetics Laboratory, Garvan
Bioinformatics Division, WEHI
e: [email protected]
e: [email protected]
p: +61 (0)3 9345 2628
f: +61 (0)3 9347 0852
------------------------------
--~--~---------~--~----~------------~-------~--~----~
When reporting problems on aroma.affymetrix, make sure 1) to run the latest
version of the package, 2) to report the output of sessionInfo() and
traceback(), and 3) to post a complete code example.
You received this message because you are subscribed to the Google Groups
"aroma.affymetrix" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/aroma-affymetrix?hl=en
-~----------~----~----~----~------~----~------~--~---