Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rowSort' is not an exported object from 'namespace:Rfast #37

Open
faeneeR opened this issue Jul 2, 2023 · 2 comments
Open

rowSort' is not an exported object from 'namespace:Rfast #37

faeneeR opened this issue Jul 2, 2023 · 2 comments

Comments

@faeneeR
Copy link

faeneeR commented Jul 2, 2023

when I try the Gene Regulatory Networks tutorial , the first step "results.ctl=compute.network(expr.data = expr.ctl,gene.names = gene.names)" reported an error:
Error: 'rowSort' is not an exported object from 'namespace:Rfast'

@faeneeR
Copy link
Author

faeneeR commented Jul 2, 2023

and my package.version("Rfast") is "1.8.5"

@atomadam2
Copy link

For anyone else who comes across this, there is now a pull request to fix this error caused by a change in Rfast.

If you want to fix it, and preserve a copy of this program you can download the whole repository, edit the line, and install that version in R.

On the Command Line, run
git clone https://github.com/iaconogi/bigSCale2

This will download a local version of bigSCale2

Find the package in, for example
C:\Users\XXX\bigSCale2\R

Open Functions.R

Make the following Change:
Change line 3928 from:
B=Rfast::rowVars(expr.row.sorted[,(num.samples-skwed.cells):num.samples], suma = NULL, std = TRUE)/a

To this (removing 'suma = NULL')
B=Rfast::rowVars(expr.row.sorted[,(num.samples-skwed.cells):num.samples], std = TRUE)/a

Then in R, install this new version
devtools::install('C:/Users/XXX/bigSCale2/')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants