Open hfl112 opened 3 years ago
The input data should be something like TPM without negative value, and try removing genes with SD of zero.
The input data should be something like TPM without negative value, and try removing genes with SD of zero.
I tried, but still got this error:
library(DeClust)
Ibrary(NMF)
library(genefilter)
test = read.table("UCS.raw.exp.txt", header=T, row.names=1, sep ='\t')
#filter SD
test_sd<-rowSds(test)
test = test[names(test_sd[test_sd>1.5]), ]
#input should be non-log-normalized & non-negative
k_ng = as.matrix(test)
k_ng = nneg(k_ng)
r<-deClustFromMarker(k_ng,2)
> r<-deClustFromMarker(k_ng,2)
[1] 0.1
[1] 0.1
[1] 0.2
[1] 0.1
[1] 0.3
[1] 0.1
[1] 0.4
[1] 0.1
[1] 0.5
[1] 0.1
[1] 0.6
[1] 0.1
[1] 0.7
[1] 0.1
[1] 0.8
[1] 0.1
[1] 0.9
[1] 0.1
[1] 1
[1] 0.1
Error in { :
task 1 failed - "NA/NaN/Inf in foreign function call (arg 1)"
In addition: Warning message:
executing %dopar% sequentially: no parallel backend registered
Hi developers, I encountered the same error when using the TCGA data to test. I have use nneg to remove the negative values, and also use 0 replace the NA But I always have this error:
How to deal with the input expression data? should I use other format like raw reads count? (Here, I use the RNASEQV2 data of TCGA samples)
Thanks, Funan