-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In ir.pl.repertoire_overlap() function the fraction
param is not working
#424
Comments
fraction
param not workingfraction
param is not working
Hi @llumdi, thanks for raising this issue! The repertoire overlap plotting function is a bit of a mess at the moment and I need to rewrite it at some point (see #156). I'm afraid neither normalization nor log scaling currently works out of the box, but you can easily retrieve the individual clonotype sizes for each of your sample using the corresponding df, _, _ = ir.tl.repertoire_overlap(adata, "sample", inplace=False)
|
The grid in the tutorial is more a side-effect of calling You can enable it by activating the scanpy default settings using import scanpy as sc
sc.set_figure_params() or by explicitly setting the grid option in matplotlib import matplotlib.pyplot as plt
plt.rcParams.update({"axes.grid" : True}) |
thanks for the help @grst. Strange that none of the two worked for me. I would also like to report that in |
When using the
ir.pl.repertoire_overlap( )
function I get the same result with or withoutfraction=True.
The output is the clonotype size (nr of cells) in each sample, whereas what I would like to plot is the relative abundance of the clone in the sample. I would also like to plot the log10 scale (so that smaller frequencies are more visible). How can I do that?
An example of the current plot I am getting:
Thanks a lot for your support.
The text was updated successfully, but these errors were encountered: