cellink.tl.subset_genomic_region#
- cellink.tl.subset_genomic_region(gdata, chrom, start, end)#
Subset the gdata object to only include variants within the specified genomic region.
- Parameters:
gdata (Anndata object containing the genomic data.)
chrom (Chromosome name (e.g., 'chr1').)
start (Start position of the genomic region (0-based).)
end (End position of the genomic region (0-based).)
- Returns:
Subsetted Anndata object containing only variants within the specified genomic region.