Function that returns the index of a given scaffold
.getIndexScaffold.bexy(object, scaffoldName, takeIfNotFound)
A single integer representing the index of the scaffold.
A bexy object.
A string representing the name of a scaffold.
A string ("X-linked" or "Y-linked") that denotes the type of scaffold to use if scaffoldName could not be found