You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in array(NA_real_, dim = c(nrow(b), ncol(cc), length(lev)), dimnames = c(rownames(b), : length of 'dimnames' [1686] must match that of 'dims' [3]
#10
Open
charlesgwellem opened this issue
Aug 29, 2019
· 2 comments
I wish to deconvolve my bulk RNA seq data with single cell RNA seq data from the same tissue. I run in to the following error when running the code line below and I do not understand why. Can any one please help?
Groups: a_nacl1=4L | a_nacl2=4L | a_nacl3=4L | a_nacl4=4L | a_nacl5=4L | NA0L
Cell type(s): 'fibroblast', 'macrophage' (2 total)
Fitting mode: auto
Data (filtered): 1684 features x 20 samples
Model has factor effect with more than 2 levels: fitting lm interaction model
Fitting model with nonnegative effects
Model with more than 2 groups: switching to version 2
Fitting linear interaction model ... OK
Computing FDR using 100 permutations ... 101/100
Alternative 'two.sided' ... OK
Alternative 'greater' ... OK
Alternative 'less' ... OK
OK
Timing:
user system elapsed
2.136 0.153 2.267
Error in array(NA_real_, dim = c(nrow(b), ncol(cc), length(lev)), dimnames = c(rownames(b), :
length of 'dimnames' [1687] must match that of 'dims' [3]
I wish to analysis celltype specific differentially expressed genes with cell proportion though csSamfit.R, but I got the same problem with charlesgwellem.**
csfit_test <- bseqsc_csdiff(eset[1:5,] ~Timepoint+Infection | + B.Cells + CD4.T.Cells + CD8.T.Cells + Dendritic.Cells + Monocytes, verbose = 2, nperms = 50, .rng = 12345)
Groups: Mex4482=15L | Anhui01=15L | NL219=15L | VN1203=14L | NA0L
Cell type(s): 'B.Cells', 'CD4.T.Cells', ..., 'Monocytes' (5 total)
Fitting mode: auto
Data (filtered): 5 features x 59 samples
Model has extra covariates: fitting lm interaction model
Fitting model with nonnegative effects
Model with more than 2 groups: switching to version 2
Fitting linear interaction model ... OK
Computing FDR using 50 permutations ... 51/50
Alternative 'two.sided' ... OK
Alternative 'greater' ... OK
Alternative 'less' ... OK
OK
Timing:
user system elapsed
0.70 0.00 0.75
Error in array(NA_real_, dim = c(nrow(b), ncol(cc), length(lev)), dimnames = c(rownames(b), :
length of 'dimnames' [11] must match that of 'dims' [3]
length of 'dimnames' [11] six more than length of gene feature which I input. Looking forward to someone reply
Hi developers,
I am getting the same issues while working with the example dataset given in the website, wondering if there is any solution to this
csfit <- bseqsc_csdiff(eset[genes, ] ~ gender + ageN + hba1c_class2 | alpha + beta + ductal + acinar, verbose = 2, nperms = 5000, .rng = 12345)
Groups: Normal=47L | Hyper=23L | NA12L
Cell type(s): 'alpha', 'beta', ..., 'acinar' (4 total)
Warning: Dropping samples with NA group/value: 'GSM1216754', 'GSM1216756', ..., 'GSM1216831' [12]
Fitting mode: auto
Groups (filtered): Normal=47L | Hyper=23L | NA0L
Data (filtered): 255 features x 70 samples
Model has extra covariates: fitting lm interaction model
Fitting model with nonnegative effects
Fitting linear interaction model ... Error in cbind(covariates, D[, -1L, drop = FALSE]) :
number of rows of matrices must match (see arg 2)
Hi there,
I wish to deconvolve my bulk RNA seq data with single cell RNA seq data from the same tissue. I run in to the following error when running the code line below and I do not understand why. Can any one please help?
Then comes the error:
The text was updated successfully, but these errors were encountered: