Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

What is julia lang equivalent to R's %in%?

$
0
0

Hello, I have a vector:

b = ["NC_001422", "NZ_CP008698", "NZ_CP016318" , "NZ_CP010905", "NZ_CP019649",
         "NZ_CP029707" , "NZ_CP011102", "NC_006905", "NC_006905", 
         "NC_009142", "NC_006322", "NC_013971", "NC_017451", "NC_014494",
         "NC_017340", "NC_008024", "NC_011375", "NC_007296", "NC_008022",
         "NC_004070", "NC_003197", "NC_012225", "NC_011566", "NC_012751",
         "NC_005362", "NC_002976", "NC_026268", "NC_002737"]

I would like to test if the object “AC_000006” is present in vector b. What would be Julia’s equivalent to R’s %in%?
Thank you

8 posts - 6 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles