immucellai2 2.1.19__tar.gz → 2.1.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {immucellai2-2.1.19 → immucellai2-2.1.20}/PKG-INFO +1 -1
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myfunction2.py +4 -9
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/PKG-INFO +1 -1
- {immucellai2-2.1.19 → immucellai2-2.1.20}/setup.cfg +1 -1
- {immucellai2-2.1.19 → immucellai2-2.1.20}/README.md +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/__init__.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myclasses.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myconfig/Celltype.category +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myconfig/MarkerUsedDeconvolution.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myconfig/reference_normalCelltypes.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myconfig/reference_tumorCelltypes.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myfunction1.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myfunction3.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myfunction4.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myfunction5.py +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/SOURCES.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/dependency_links.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/entry_points.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/requires.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2.egg-info/top_level.txt +0 -0
- {immucellai2-2.1.19 → immucellai2-2.1.20}/pyproject.toml +0 -0
|
@@ -25,17 +25,12 @@ def SelectGeneForDeconvolution(DFReferenceProfile, FileCoveredGenes="", Method="
|
|
|
25
25
|
DFReferenceProfileGenes = DFReferenceProfile.index.values
|
|
26
26
|
if Method == "UsedMarker":
|
|
27
27
|
if FileCoveredGenes == "":
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
print(f"[INFO] Found marker file in immucellai2 package: {FileCoveredGenes}")
|
|
28
|
+
pkg_marker_path = os.path.join(get_package_dir("immucellai2"), "myconfig/MarkerUsedDeconvolution.txt")
|
|
29
|
+
if os.path.exists(pkg_marker_path):
|
|
30
|
+
FileCoveredGenes = pkg_marker_path
|
|
31
|
+
print(f"[INFO] Found marker file in immucellai2 package: {FileCoveredGenes}")
|
|
33
32
|
GeneUsedForDeconvolution0 = (pandas.read_table(FileCoveredGenes, sep= "\t")).iloc[0].to_list()
|
|
34
33
|
GeneUsedForDeconvolution = list(set(GeneUsedForDeconvolution0).intersection(set(DFReferenceProfileGenes)))
|
|
35
|
-
except Exception as e:
|
|
36
|
-
print(f"[ERROR] Failed to read marker file: {str(e)}")
|
|
37
|
-
print("Tips for users: Check if MarkerUsedDeconvolution.txt is in 'single-column, no header' format")
|
|
38
|
-
return []
|
|
39
34
|
return GeneUsedForDeconvolution
|
|
40
35
|
|
|
41
36
|
def CelltypeCategoryCheck(FileCellTypeCategory = "", celltypelist = [] ):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{immucellai2-2.1.19 → immucellai2-2.1.20}/immucellai2/myconfig/reference_normalCelltypes.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|