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

Running infercna errors #8

Open
ConDem94 opened this issue Jul 10, 2023 · 0 comments
Open

Running infercna errors #8

ConDem94 opened this issue Jul 10, 2023 · 0 comments

Comments

@ConDem94
Copy link

ConDem94 commented Jul 10, 2023

Hi, I am trying to use infercna as an alternative to infercnv and copykat as I need a faster cnv caller for my large integrated dataset (200,000+ cells).

I installed your package using this code:

BiocManager::install("Homo.sapiens")
BiocManager::install("jpmam1/scalop") # Jared's awesome forked copy
BiocManager::install("jlaffy/infercna")

After following the vignette, and successfully running infercna, I am getting an error when I try to run cnaPlot:

m = useData(mgh125)
dim(m)
range(m)
lengths(refCells)

args(infercna)
cna = infercna(m = m, refCells = refCells, n = 5000, noise = 0.1, isLog = TRUE, verbose = FALSE)
cnaM = cna[, !colnames(cna) %in% unlist(refCells)]

args(cnaPlot)
obj = cnaPlot(cna = data.frame(cnaM),
              order.cells = F,
              subtitle = 'Copy-Number Aberrations in a patient with Glioblastoma')
names(obj)

Error: Error in `data_frame()`:
! `yintercept` must be a vector, not a <waiver> object.

Also, when I try to run findMalignant using this code:

Modes = findMalignant(cna, signal.threshold = .9, samples = 'MGH125')

Calculating cells' CNA correlations...
Error: 'split_by_sample_names' is not an exported object from 'namespace:scalop'

So there must be an issue with the scalop package? Has anyone resolved this?

Best wishes,
Constantinos

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