美文网首页
sc.pl.dotplot()

sc.pl.dotplot()

作者: LET149 | 来源:发表于2025-04-21 03:15 被阅读0次

    sc.pl.dotplot()

    https://scanpy.readthedocs.io/en/stable/generated/scanpy.pl.dotplot.html#scanpy.pl.dotplot

    When marker gene inputs are list

    sc.pl.dotplot(adata, groupby=, var_names=, use_raw=, layer=, figsize=)

      1. groupby=: base on what to group; 'leiden'
      1. var_names=: features for plot
      1. use_raw=: if use the .raw.X for plot; default=None, the .raw.X will be used if present
      1. layer=: key in .layer used for plotting
      1. figsize=: size of the plot; (3, 2)

    sc.pl.dotplot(scanpy_object, var_names=['TNFRSF4', 'CPSF3L', 'ATAD3C', 'C1orf86', 'RER1', 'TNFRSF25', 'TNFRSF9'], groupby='leiden')

    When marker gene inputs are dictionary

    sc.pl.dotplot(adata, groupby=, var_names=, use_raw=, layer=, figsize=)

      1. groupby=: base on what to group; 'leiden'
      1. var_names=: features for plot
      1. use_raw=: if use the .raw.X for plot; default=None, the .raw.X will be used if present
      1. layer=: key in .layer used for plotting
      1. figsize=: size of the plot; (3, 2)

    sc.pl.dotplot(scanpy_object_used, var_names={'HBC':['ENSMUSG00000037405','ENSMUSG00000045545'], 'mOSN':'ENSMUSG00000027744'}, groupby='res_0.1')

    相关文章

      网友评论

          本文标题:sc.pl.dotplot()

          本文链接:https://www.haomeiwen.com/subject/lxtbbjtx.html