txWang / BERMUDA

BERMUDA (Batch Effect ReMoval Using Deep Autoencoders) is a novel transfer-learning-based method for batch correction in scRNA-seq data.
MIT License
27 stars 7 forks source link

an error in getting the Gaussian simulation data #6

Open yuxiaokang-source opened 4 years ago

yuxiaokang-source commented 4 years ago

Hi When I run the gaussian.R to get the gaussian simulation data, the function "write_dataset" is missing. the error in Rstudio is follows: Error in write_dataset("gaussian_batch_1.csv", t(A1), rep(1, ncol(t(A1))), : could not find function "write_dataset", can you solve it? Thanks

txWang commented 4 years ago

Hi, Sorry about that. We have included the "write_dataset" function in "R/func_data.R". We have also changed the filename from "R/func_read_data.R" to "R/func_data.R" for less confusion.