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 in result$cluster[Order] : invalid subscript type 'list' #5

Open
andhena opened this issue Feb 17, 2020 · 0 comments
Open

Error in result$cluster[Order] : invalid subscript type 'list' #5

andhena opened this issue Feb 17, 2020 · 0 comments

Comments

@andhena
Copy link

andhena commented Feb 17, 2020

Hello,

Here is my SNV_list file :

    SampleName Chr Start Depth Alt Genotype
1   FFPE   1     1    21   2       AA
2  FFPE   1     2    70   7       AB
3   FFPE   1     3    23   2       AB
4   FFPE   1     4    22   2       AB
5   FFPE   1     5    17   2       AB
6   FFPE   1     6    68  11       AB
7   FFPE   1     7    78  21       AB
8   FFPE   1     8    77   9      AAB
9   FFPE   1     9   129  21       AB
10  FFPE   1    10    38   8       AB


> One_step_clustering(SNV_list, FREEC_list = NULL, contamination, nclone_range = 2:5, clone_priors = NULL, prior_weight = NULL, Initializations = 1, preclustering = "FLASH", simulated = FALSE, epsilon = NULL, save_plot = TRUE, ncores = 1, restrict.to.AB = FALSE, output_directory = NULL , model.selection = "BIC", optim = "default", keep.all.models = FALSE, force.single.copy = FALSE)

Starting clustering...
Keeping most likely state for each variant...

And here is the error :

Error in result$cluster[Order] : invalid subscript type 'list'
In addition: There were 45 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In spare[is.infinite(spare)] <- sign(is.infinite(spare)) *  ... :
  number of items to replace is not a multiple of replacement length
2: In spare[is.infinite(spare)] <- sign(is.infinite(spare)) *  ... :
  number of items to replace is not a multiple of replacement length
3: In spare[is.infinite(spare)] <- sign(is.infinite(spare)) *  ... :
  number of items to replace is not a multiple of replacement length
4: In spare[is.infinite(spare)] <- sign(is.infinite(spare)) *  ... :
  number of items to replace is not a multiple of replacement length
5: In spare[is.infinite(spare)] <- sign(is.infinite(spare)) *  ... :
  number of items to replace is not a multiple of replacement length

What should I do to fix the problem?
Thank you

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