Skip to content

Commit

Permalink
fix umap imports
Browse files Browse the repository at this point in the history
  • Loading branch information
VasudhaJha committed Jul 24, 2023
1 parent dc2a24a commit ea97c21
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
from sklearn.decomposition import PCA
import phate
import umap
import umap.umap_ as umap

data = pd.read_csv('TM_data.csv', header=None,
delim_whitespace=False)
Expand Down Expand Up @@ -93,7 +93,7 @@ import scipy.io as sio
import numpy as np
import genomap.genoDR as gp
import matplotlib.pyplot as plt
import umap
import umap.umap_ as umap

dx = sio.loadmat('reducedData_divseq.mat')
data=dx['X']
Expand Down Expand Up @@ -127,7 +127,7 @@ import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
from sklearn.decomposition import PCA
import phate
import umap
import umap.umap_ as umap
import genomap.genoTraj as gp

# Load data
Expand Down
2 changes: 1 addition & 1 deletion genomap/genoDR/genoDimReduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import scanpy as sc
from sklearn.feature_selection import VarianceThreshold
from tensorflow.keras.optimizers import Adam
import umap
import umap.umap_ as umap

from genomap.genomap import construct_genomap
from genomap.utils.ConvIDEC import ConvIDEC
Expand Down
2 changes: 1 addition & 1 deletion genomap/genoMOI/genoMOI.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""

from tensorflow.keras.optimizers import Adam
import umap
import umap.umap_ as umap
import numpy as np
import scanorama
import phate
Expand Down
2 changes: 1 addition & 1 deletion genomap/genoVis/genoVis.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from genomap.utils.ConvIDEC import ConvIDEC
from sklearn.feature_selection import VarianceThreshold
from genomap.genomap import construct_genomap
import umap
import umap.umap_ as umap
from genomap.utils.gTraj_utils import nearest_divisible_by_four
import scanpy as sc
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ scikit-learn
tensorflow
torch
tqdm
umap
umap-learn

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="genomap",
version="1.3.3",
version="1.3.4",
author="Md Tauhidul Islam",
author_email="[email protected]",
description="Genomap converts tabular gene expression data into spatially meaningful images.",
Expand Down

0 comments on commit ea97c21

Please sign in to comment.