Closed mattssca closed 11 months ago
Any function that accepts a region should allow the region to specify the chromosomes with or without the prefix. This could be handled by another helper function along the lines of id_ease. I would prefer a new family of functions with intuitive names:
id_ease
-> instead name it sanitize_sample_ids
this new function -> sanitize_regions
Nice, I like it! Let me work on this and I'll make the necessary updates.
I will migrate this issue to the appropriate child repo.
Currently,
get_ssm_by_region
requires the chromosome in the provided region to be compatible with the selected projection. For example, ifprojection = "hg38"
the chromosome in the provided region would have to be chr-prefixed. The function should automatically deal with chr-prefixes for the supplied region.