Support different types of selection to analyze