episcanpy.api.ct.make_windows

episcanpy.api.ct.make_windows(size, chromosomes='human', chromosome_sizes=None, max_length=1000000000)

Generate windows/bins of the given size for the appropriate genome (default choice is human).

Parameters
size

size of the window you want

chromosomes

Chromosomes of the species you are analysing. Pre-defined chromosomes are ‘human’ and ‘mouse’. Default value is ‘human’. For other oranisms, chromosomes should be defined as, for example, chromosomes = [‘1’, ‘2’, … , ‘X’, ‘Y’].

chromosome_sizes

an array for chromosome sizes. If chromosomes is set to ‘human’ or ‘mouse’, chromosome_sizes will be ignored. For other oranisms, chromosome_sizes must have the same length as chromosomes and should be defined as, for example, chromosomes = [‘1’, ‘2’, … , ‘X’, ‘Y’].

max_length

maximum length given for every chromosome. For other oranisms, when chromosomes is assigned and chromosome_sizes = None, max_length will be used instead.