01de423a0847bb27ba136764aace9323cd7886a4,hicexplorer/hicCompartmentalization.py,,main,#Any#,170
Before Change
args = parse_arguments().parse_args(args)
pc1_bedgraph = pd.read_table(args.pca, header=None, sep="\t")
pc1 = pd.DataFrame(pc1_bedgraph.values, columns=["chr", "start", "end",
"pc1"])
if args.outliers != 0:
quantile = [args.outliers / 100, (100 - args.outliers) / 100]
boundaries = np.nanquantile(pc1["pc1"].values.astype(float), quantile)
quantiled_bins = np.linspace(boundaries[0], boundaries[1],
After Change
pc1 = pd.read_table(args.pca, header=None, sep="\t",
dtype={0: "object", 1: "Int64", 2: "Int64", 3: "float32"})
pc1 = pc1.rename(columns={0: "chr", 1: "start", 2: "end", 3: "pc1"})
if args.outliers != 0:
quantile = [args.outliers / 100, (100 - args.outliers) / 100]
boundaries = np.nanquantile(pc1["pc1"].values.astype(float), quantile)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: deeptools/HiCExplorer
Commit Name: 01de423a0847bb27ba136764aace9323cd7886a4
Time: 2020-01-20
Author: leila.rabbani@gmail.com
File Name: hicexplorer/hicCompartmentalization.py
Class Name:
Method Name: main
Project Name: NTMC-Community/MatchZoo
Commit Name: 1fe0dbac77b18ea24885ad4d367c849152df8a94
Time: 2019-01-13
Author: i@uduse.com
File Name: matchzoo/models/parameter_readme_generator.py
Class Name:
Method Name: _make_model_params_table
Project Name: bokeh/bokeh
Commit Name: 061d916ba77932d50e41c83f476d8c0d55674856
Time: 2018-10-13
Author: xavart2011@gmail.com
File Name: examples/app/gapminder/main.py
Class Name:
Method Name: