arcfish.pp.joint_filter_normalize#

arcfish.pp.joint_filter_normalize(*args, **kwargs)#

Filter and normalize multiple adata.

For all the adata passed in, first concat them together and filter the outliers and normalize by 1D genomic distances as does in filter_normalize(). Then for each adata, compute the entry variance and the number of available counts, append them to each adata. Thus the followings will be added to the varp field of each adata:

1. var_{X,Y,Z}: mean squared pairwise difference of each axis after normalization.

2. count_{X,Y,Z}: the number of available values for each pairwise distance entry after normalization.

Parameters:
  • args (AnnData) – Any number of adata objects.

  • kwards (any) – Pass in nstds=n to change the filtering criterion like in filter_normalize(), by default 4.