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

Error when running Project on plink files #53

Open
JMJOHNSON608 opened this issue Jan 24, 2022 · 0 comments
Open

Error when running Project on plink files #53

JMJOHNSON608 opened this issue Jan 24, 2022 · 0 comments

Comments

@JMJOHNSON608
Copy link

When attempting to run project using plink files results in an Rcpp error:

fn <- gsub("\.bed", "",
system.file("extdata", "data_chr1.bed", package="flashpcaR"))
fn
f <- flashpca(fn, ndim=4,divisor="p",block_size=1000,do_loadings=TRUE,return_scale=TRUE,stand="binom2")
test<-project(fn,loadings=f$loadings,orig_mean=f$center,orig_sd=f$scale)

Which results in:

Error in project_plink_internal(X, loadings, ref_alleles, orig_mean, orig_sd, :
Expecting a string vector: [type=NULL; required=STRSXP].

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

1 participant