Error checking function for .(m)cool files

.checkCoolErrors(
  file,
  chrom,
  chromstart,
  chromend,
  zrange,
  altchrom,
  altchromstart,
  altchromend,
  norm,
  resolution
)

Arguments

file

Path to .(m)cool file

chrom

User-inputted chromosome

chromstart

User-inputted chromstart, can still be NULL at this point.

chromend

User-inputted chromend, can still be NULL at this point.

zrange

User-inputted zrange.

altchrom

User-inputted alt chromosome.

altchromstart

User-inputted alt chromstart.

altchromend

User-inputted alt chromend.

norm

User-inputted normalization.

resolution

Resolution, either user-inputted or determined by 'auto'.