yanwu2014 / swne

Similarity Weighted Nonnegative Embedding (SWNE), a method for visualizing high dimensional datasets
BSD 3-Clause "New" or "Revised" License
104 stars 20 forks source link

there is a error in "RunSWNE(obj, k = 16, genes.embed = genes.embed)" #34

Open Tycooner opened 1 year ago

Tycooner commented 1 year ago

Hi, i run the code according the https://github.com/yanwu2014/swne, but it get a error. swne.embedding <- RunSWNE(obj, k = 16, genes.embed = genes.embed)

calculating variance fit ... using gam [1] "0 variable genes to use" Error in irlba::irlba(t(A), nv = 50, maxit = 500, center = rowMeans(A)) : max(nu, nv) must be strictly less than min(nrow(A), ncol(A))

so how can i fix it? thanks