All samples in the game can be collected from the map. They are most often found around various structures, nests, and points of interest (POIs). You may have to run around a bit to spot them, though ...
Before that, it is important to note that rare samples are needed for certain upgrades in your cruiser. Especially the upgrades that deal with enhancing aspects of your defensive ordinances, like the ...