iCLIP.meta.get_window¶
-
iCLIP.meta.get_window(profile, position, upstream, downstream)¶ Return a window around point with an index aligned so the specified point is 0
Parameters: - profile (pandas.Series) – Profile to be subset, as generated by a *_getter function
- position (int) – Position with the profile to extract a window around
- upstream (int) – Number of bases upstream of the position to extract
- downstream (int) – Number of bases downstream of position to extract
- Value –
- ----- –
- pandas.Series – The part of the input profile from
position-upstreamtoposition + downstream, indexed such thatpositionis now 0.