-
Notifications
You must be signed in to change notification settings - Fork 34
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 normalize.quantiles(dataset0) : vector types do not match in copyVector #53
Comments
I was able to fix the error by doing: sc_data <- sc_data[["RNA"]]@CountS TCGA <- read.table('TCGA_status_ConsensusClass.txt', header = TRUE, sep = '\t',row.names = 1) TRUEtable(metadata$genotype) NULL PRESENT247 156Execute Scissor to select the informative cellsphenotype <-metadata$genotype but now I am getting the following error: Error in Scissor(as.matrix(TCGA), sc_data, phenotype, tag = tag, : Any help would be appreciated ! |
try tag=c('NULL','PRESENT') ?
…On Tue, 30 May 2023 at 18:54, jmzvillarreal ***@***.***> wrote:
I was able to fix the error by doing:
sc_data <- ***@***.*** <https://github.com/CountS>
sc_data <- Seurat_preprocessing(sc_data, min.cells= 1, min.features= 500,
resolution= 0.2, dims_Neighbors= 1:20, dims_TSNE= 1:20, dims_UMAP=
1:20,verbose=TRUE)
TCGA <- read.table('TCGA_status_ConsensusClass.txt', header = TRUE, sep =
'\t',row.names = 1)
TCGA <- TCGA[-c(1,2),]
TCGA <- TCGA %>% mutate_all(as.numeric)
metadata <- read.table('Subtype_info.csv', header = TRUE, sep = ',')
all(colnames(TCGA) == metadata$Sample)
TRUE
table(metadata$genotype)
NULL PRESENT 247 156 Execute Scissor to select the informative cells
phenotype <-metadata$genotype
tag <- as.list(phenotype)
infos <- Scissor(as.matrix(TCGA), sc_data, phenotype,tag=tag, alpha = 0.2,
family = "binomial")
but now I am getting the following error:
Error in Scissor(as.matrix(TCGA), sc_data, phenotype, tag = tag, :
The length differs between tags and phenotypes. Please check Scissor
inputs and selected regression type.
In addition: Warning messages:
1: In asMethod(object) :
sparse->dense coercion: allocating vector of size 17.8 GiB
2: In asMethod(object) :
sparse->dense coercion: allocating vector of size 66.0 GiB
3: In Scissor(as.matrix(TCGA), sc_data, phenotype, tag = tag, :
NAs introduced by coercion
Any help would be appreciated !
—
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYQWDFAVX2LKKZOH7WKPCTXIXGWVANCNFSM6AAAAAAYQG6SO4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi again, |
Hi,
Thanks for developping this interesting tool.
It seems that the error:
Error in normalize.quantiles(dataset0) : vector types do not match in copyVector
is quite common.
I have tried :
BiocManager::install("preprocessCore", configure.args="--disable-threading", force = TRUE)
But it is not working...
Could you please give some help on ow to debug it ?
Many thanks.
Jaime.
The text was updated successfully, but these errors were encountered: