jiawen wang
jiawen wang
I have got what I want with the following code adapted from dotplot(): gene_ids = adata.raw.var.index.values clusters = adata.obs['louvain'].cat.categories obs = adata.raw[:,gene_ids].X.toarray() obs = pd.DataFrame(obs,columns=gene_ids,index=adata.obs['louvain']) average_obs = obs.groupby(level=0).mean() obs_bool =...
In the help documentation of sc.pp.scale, it is said "zero_center If `False`, omit zero-centering variables, which allows to handle sparse input efficiently. I am still confused about zero_center. If zero_center=False,...
Hi, do you resolve the conflicts ?
Hi, I made a more comprehensive version of grouped barchart, which add real x labels and legend based on the above examples:  here is the full code: ``` //...
I am using bash shell and xonsh shell. But I hate the commands of sed/awk, I cannot remember them. Pyp is a good complementation of xonsh, because xonsh is lack...
Reading xlsx in Rust (not python) is prefered because lots of data are pre-existed in excel.
Hi, I am still confused about Snakemake's re-run behaviors. It is said that "Snakemake only re-runs jobs if one of the input files is newer than one of the output...
And here is a toy example I worte (test.smk): rule all: input: "/home/wangjw/data/work/flask/b.txt" rule copy1: input: file = directory("/home/wangjw/data/work/flask") output: file = "data1/a.txt" shell: "cp {input.file}/a.txt {output.file}" rule copy2: input:...
It is said that "Snakemake only re-runs jobs if one of the input files is newer than one of the output files or one of the input files will be...