OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/bayraktarlab/cell2location",4 "url": "https://github.com/BayraktarLab/cell2location",5 "host": "github.com",6 "commit": "afb07fda7f89458e44a4afdf21c26aeb7251ebfa",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",14 "language": "License",15 "lines": 201,16 "truncated": false,17 "block": 1,18 "row": 221619 },20 {21 "path": "README.md",22 "sha256": "df9f92139d59b1a8f3ef742fdd26996d4ec040b5ae92f5214a308c48789b5941",23 "language": "Text",24 "lines": 275,25 "truncated": false,26 "block": 8,27 "row": 1079128 },29 {30 "path": "cell2location/__init__.py",31 "sha256": "3e4691c9e37a2ddcdddf1cb6f29c71781d377c69731f57827a5215e6b832fdbf",32 "language": "Python",33 "lines": 51,34 "truncated": false,35 "block": 6,36 "row": 2904037 },38 {39 "path": "cell2location/cell_comm/around_target.py",40 "sha256": "214d35a4a879094d2107009420929743a9d9fcf97f30cc363ef723ce43bd2b7c",41 "language": "Python",42 "lines": 219,43 "truncated": false,44 "block": 7,45 "row": 308946 },47 {48 "path": "cell2location/cluster_averages/__init__.py",49 "sha256": "8ce67abf28590bc036e4698d5ad570a16bf8793195f67db6524b3fa53d134bfb",50 "language": "Python",51 "lines": 4,52 "truncated": false,53 "block": 6,54 "row": 2124055 },56 {57 "path": "cell2location/cluster_averages/cluster_averages.py",58 "sha256": "df5da4b7e516afcda7cd459c7aa46523fdbd970c76c44547dd03bb73ae6d1a7f",59 "language": "Python",60 "lines": 141,61 "truncated": false,62 "block": 6,63 "row": 4003964 },65 {66 "path": "cell2location/cluster_averages/markers_by_hierarhy.py",67 "sha256": "4cfff0ec65d8bb450340a3c93447c2365a9b63d8ff3dd4eca8cad47118d1d3ed",68 "language": "Python",69 "lines": 159,70 "truncated": false,71 "block": 7,72 "row": 39373 },74 {75 "path": "cell2location/cluster_averages/select_features.py",76 "sha256": "484c7ab3a66d5947da27841b1962cd8942657f2c80c0863f057112d5789e55dc",77 "language": "Python",78 "lines": 34,79 "truncated": false,80 "block": 6,81 "row": 2786182 },83 {84 "path": "cell2location/distributions/AutoAmortisedNormalMessenger.py",85 "sha256": "28b4db574b1becc51ec4443951ba16b224fbcf48eff14197c47de2fbfe7606b4",86 "language": "Python",87 "lines": 568,88 "truncated": false,89 "block": 7,90 "row": 992091 },92 {93 "path": "cell2location/distributions/AutoNormalEncoder.py",94 "sha256": "134dd486cf2ba762ca59b8509ecc07445d163b087ec95b403b9f75483c33b22f",95 "language": "Python",96 "lines": 423,97 "truncated": false,98 "block": 7,99 "row": 7406100 },101 {102 "path": "cell2location/distributions/NegativeBinomial.py",103 "sha256": "a9147552323ef894c2d3c37485dda3d9d0baec6cfdd0eba015f937cb3bbbd6ad",104 "language": "Python",105 "lines": 167,106 "truncated": false,107 "block": 6,108 "row": 43750109 },110 {111 "path": "cell2location/distributions/transforms.py",112 "sha256": "2c547b543cfcfc0fae82bea50d6302a677b9997f960793ad713fd890509d00dc",113 "language": "Python",114 "lines": 22,115 "truncated": false,116 "block": 6,117 "row": 23255118 },119 {120 "path": "cell2location/models/__init__.py",121 "sha256": "30615cb11914842d7f8d49f3768dc601c824506bc5cb89216ffa833091447df5",122 "language": "Python",123 "lines": 15,124 "truncated": false,125 "block": 6,126 "row": 23006127 },128 {129 "path": "cell2location/models/_cell2location_WTA_model.py",130 "sha256": "322428989eabb130201610f7766a840717ea261260d2d22b899f1ae86272a52d",131 "language": "Python",132 "lines": 473,133 "truncated": false,134 "block": 7,135 "row": 8320136 },137 {138 "path": "cell2location/models/_cell2location_WTA_module.py",139 "sha256": "50ae93bc8f9f4827011565f08115d46705a9697cd3f5865ff4f1be0802b937e9",140 "language": "Python",141 "lines": 569,142 "truncated": false,143 "block": 7,144 "row": 9774145 },146 {147 "path": "cell2location/models/_cell2location_model.py",148 "sha256": "155f42c222ae310180b17a3683d5b6697465e2104d6c0752252c26dc1ab38edc",149 "language": "Python",150 "lines": 493,151 "truncated": false,152 "block": 7,153 "row": 8646154 },155 {156 "path": "cell2location/models/_cell2location_module.py",157 "sha256": "9f8b2ee28dbc25e859c07a5c993d3ed49bf7f6e65b18686f9f6554824481a1c7",158 "language": "Python",159 "lines": 567,160 "truncated": false,161 "block": 7,162 "row": 9632163 },164 {165 "path": "cell2location/models/base/_pyro_base_loc_module.py",166 "sha256": "cb77db9ca8d01bb0a642cb7cc6638ba749ba299d8bade2822c1b66e22891f058",167 "language": "Python",168 "lines": 91,169 "truncated": false,170 "block": 6,171 "row": 36403172 },173 {174 "path": "cell2location/models/base/_pyro_base_reference_module.py",175 "sha256": "41f96ac8b0de9c6b763e2d4d424069defb51f3f5c2d3113afc65531a37cc84d4",176 "language": "Python",177 "lines": 72,178 "truncated": false,179 "block": 6,180 "row": 33546181 },182 {183 "path": "cell2location/models/base/_pyro_mixin.py",184 "sha256": "95f4ad36c01f2ed3d11658b6d159f918bb01d38d0ae8ca9bb8e7f1bd40bbb352",185 "language": "Python",186 "lines": 877,187 "truncated": false,188 "block": 7,189 "row": 11057190 },191 {192 "path": "cell2location/models/base/base_model.py",193 "sha256": "43c22fbcd774a5080c0927b725862755ef4c8766e35214c3fbd4db3202534095",194 "language": "Python",195 "lines": 509,196 "truncated": false,197 "block": 7,198 "row": 8771199 },200 {201 "path": "cell2location/models/downstream/ArchetypalAnalysis.py",202 "sha256": "22f217e6852afb3fd6466a85cb3a1353947bc2c7bb0d5944a0770981975fdcc6",203 "language": "Python",204 "lines": 336,205 "truncated": false,206 "block": 7,207 "row": 4568208 },209 {210 "path": "cell2location/models/downstream/CoLocatedGroupsSklearnNMF.py",211 "sha256": "156780803441193b4559da9a6ed1c513136d8bd17d9a643e43bc33683002913b",212 "language": "Python",213 "lines": 371,214 "truncated": false,215 "block": 7,216 "row": 5775217 },218 {219 "path": "cell2location/models/downstream/__init__.py",220 "sha256": "fd5d64b00701a7441939ace0b6cdc68ad0cfc68b4efc3632fa58e1e03c48b61f",221 "language": "Python",222 "lines": 4,223 "truncated": false,224 "block": 6,225 "row": 21073226 },227 {228 "path": "cell2location/models/reference/__init__.py",229 "sha256": "89afc0142831af038239607dbdeb39ec70008455904007b806944bd6fb4b9e30",230 "language": "Python",231 "lines": 5,232 "truncated": false,233 "block": 6,234 "row": 20596235 },236 {237 "path": "cell2location/models/reference/_reference_model.py",238 "sha256": "90e04d594f4b0356e19cd59bc7595d405d8b3a88a862c8b91486d4762aee452c",239 "language": "Python",240 "lines": 311,241 "truncated": false,242 "block": 7,243 "row": 5147244 },245 {246 "path": "cell2location/models/reference/_reference_module.py",247 "sha256": "13aa90f6c4c0e5643c8ea239727f859f488233e0862ee61549fcd9a598734ecc",248 "language": "Python",249 "lines": 408,250 "truncated": false,251 "block": 7,252 "row": 7341253 },254 {255 "path": "cell2location/models/simplified/_cell2location_v3_no_factorisation_module.py",256 "sha256": "6df7c1a1fafddafde9140577dc354e1554cb658b4ae066133d3b9c94b7c82e59",257 "language": "Python",258 "lines": 377,259 "truncated": false,260 "block": 7,261 "row": 7202262 },263 {264 "path": "cell2location/models/simplified/_cell2location_v3_no_mg_module.py",265 "sha256": "0ff46a123a2be064c28e4035583cce5e6e1e3570a0b00c1133c6638fddcf79ea",266 "language": "Python",267 "lines": 364,268 "truncated": false,269 "block": 7,270 "row": 7006271 },272 {273 "path": "cell2location/nn/__init__.py",274 "sha256": "f552a92141d44e9d204127220c9d3d9d988e727269ae00945a2bd49ffeb13248",275 "language": "Python",276 "lines": 3,277 "truncated": false,278 "block": 6,279 "row": 20431280 },281 {282 "path": "cell2location/nn/fclayers.py",283 "sha256": "7eef859f9eb70dc2399a023f2395e1bbc3e3353e12ab0e9228fa4cac229be397",284 "language": "Python",285 "lines": 174,286 "truncated": false,287 "block": 6,288 "row": 44530289 },290 {291 "path": "cell2location/nn/fclayers_context.py",292 "sha256": "3fb1cffad68ddb8a336f1444d4532331ce9df0835fec154568dff2e82d703ac2",293 "language": "Python",294 "lines": 224,295 "truncated": false,296 "block": 7,297 "row": 2398298 },299 {300 "path": "cell2location/plt/RotateCrop.py",301 "sha256": "219dbf54f6d2c1401f680327139b5f4a636da2eabed0d41d159166fef4f96d2e",302 "language": "Python",303 "lines": 134,304 "truncated": false,305 "block": 6,306 "row": 38167307 },308 {309 "path": "cell2location/plt/__init__.py",310 "sha256": "0d21e2c6d3be86c2f80238c06c772e7f9ed51e15542d487bdea76585d00559c5",311 "language": "Python",312 "lines": 13,313 "truncated": false,314 "block": 6,315 "row": 22284316 },317 {318 "path": "cell2location/plt/mapping_video.py",319 "sha256": "8d36dc30237b8ff3d633a1a82389b295bafbc15ea09b809ed50ca534b44e4491",320 "language": "Python",321 "lines": 412,322 "truncated": false,323 "block": 7,324 "row": 6705325 },326 {327 "path": "cell2location/plt/plot_expected_vs_obs.py",328 "sha256": "ca41af7013451dfa65dd52ba2d42fbd6954390b67fab1cdfaee89e681df3d890",329 "language": "Python",330 "lines": 91,331 "truncated": false,332 "block": 6,333 "row": 35932334 },335 {336 "path": "cell2location/plt/plot_factor_spatial.py",337 "sha256": "72b353ece6d4661d38ef93deb2ecea5cb4032702e56e366764f25f3ac1cd6a5e",338 "language": "Python",339 "lines": 159,340 "truncated": false,341 "block": 6,342 "row": 43360343 },344 {345 "path": "cell2location/plt/plot_heatmap.py",346 "sha256": "d938bc6518dada40f2a831617557c44af1f1fde358f76ecdbb208a272aee8e7f",347 "language": "Python",348 "lines": 237,349 "truncated": false,350 "block": 6,351 "row": 45151352 },353 {354 "path": "cell2location/plt/plot_in_1D.py",355 "sha256": "48de099dcccb9c505b13fe04512f7865aa0980cd2e078bfc596444d0da5cdd75",356 "language": "Python",357 "lines": 217,358 "truncated": false,359 "block": 7,360 "row": 1700361 },362 {363 "path": "cell2location/plt/plot_spatial.py",364 "sha256": "0ae4e40efadf0a0ce02afe9f76190ce127c8dbb0830e475c9bdd660c7c685bcf",365 "language": "Python",366 "lines": 400,367 "truncated": false,368 "block": 7,369 "row": 6045370 },371 {372 "path": "cell2location/run_colocation.py",373 "sha256": "c06487c608c3f832ce8b12961c949e8c9bc7b10af1b48e538505e2cd20f66d9c",374 "language": "Python",375 "lines": 494,376 "truncated": false,377 "block": 7,378 "row": 7918379 },380 {381 "path": "cell2location/utils/__init__.py",382 "sha256": "4497d03a6559fe738c92d3d784c87e700a21862d771e0dad0e18264d5775850a",383 "language": "Python",384 "lines": 49,385 "truncated": false,386 "block": 6,387 "row": 28563388 },389 {390 "path": "cell2location/utils/_spatial_knn.py",391 "sha256": "d4f75551c13ddbd1161aa7154fdc7d52db2382950571cb9805894c2687a40b37",392 "language": "Python",393 "lines": 286,394 "truncated": false,395 "block": 7,396 "row": 4219397 },398 {399 "path": "cell2location/utils/filtering.py",400 "sha256": "e79629e63f5a7caf35ab112e40cb740e4fd79c44823aedfe00dcd6e40ef6f59d",401 "language": "Python",402 "lines": 65,403 "truncated": false,404 "block": 6,405 "row": 34248406 },407 {408 "path": "docs/conf.py",409 "sha256": "a2dbd4d548df1e3547080e6fc762703d08c2e20490776bab0e539a8709bf4ccb",410 "language": "Python",411 "lines": 72,412 "truncated": false,413 "block": 6,414 "row": 33780415 },416 {417 "path": "docs/notebooks/cell2location_estimating_signatures.ipynb",418 "sha256": "c846c30eb13d5edcaca6b8ef4dd5a2fe5979ef11f095f4c78dee7c4f913a52dd",419 "language": "Jupyter",420 "lines": 402,421 "truncated": false,422 "block": 6,423 "row": 770424 },425 {426 "path": "docs/notebooks/cell2location_for_NanostringWTA.ipynb",427 "sha256": "0fb9a847a6f163c2c8dc361e164d433d20213f534e4654ba01bbc69247d209f5",428 "language": "Jupyter",429 "lines": 134,430 "truncated": false,431 "block": 5,432 "row": 17115433 },434 {435 "path": "docs/notebooks/cell2location_for_NanostringWTA_Pyro.ipynb",436 "sha256": "30c276d4244f662fd7c32f7eb9a1552c71222299944468f343a4be1eae3e721c",437 "language": "Jupyter",438 "lines": 145,439 "truncated": false,440 "block": 5,441 "row": 16978442 },443 {444 "path": "docs/notebooks/cell2location_short_demo.ipynb",445 "sha256": "042caab754829a79af0abe1728e508095bb1b988864b9c0bbbc66916b7c5440f",446 "language": "Jupyter",447 "lines": 545,448 "truncated": false,449 "block": 6,450 "row": 1014451 },452 {453 "path": "docs/notebooks/cell2location_short_demo_colab.ipynb",454 "sha256": "4b3fc69382a1ed0dc2cf0e1489bcc96a83b852d1170e40c178fb84a911109d4b",455 "language": "Jupyter",456 "lines": 663,457 "truncated": false,458 "block": 6,459 "row": 1087460 },461 {462 "path": "docs/notebooks/cell2location_short_demo_downstream.ipynb",463 "sha256": "f7698e4b78ccf02ac79c1b705425b7f1c148fc26dbda6ea97f3a969ab50e5a96",464 "language": "Jupyter",465 "lines": 448,466 "truncated": false,467 "block": 6,468 "row": 851469 },470 {471 "path": "docs/notebooks/cell2location_tutorial.ipynb",472 "sha256": "020fa5399b1439d64229f7184cb8038da48032ea6d4a27958ad41653d0756c93",473 "language": "Jupyter",474 "lines": 659,475 "truncated": false,476 "block": 6,477 "row": 1070478 }479 ]480}