the standard deviation is zero and i cannot Extract features from my data
thanks a lot for your code and contribution!
since i am a new learner on R and bioinfomatics, i might have some basic problems using your R package. cellity. Would you like to help to solve the problem
Fistly I use Star to align and create the dge file, and i used a script based on celloline ()https://github.com/lazappi/binf-scripts) to gain the align statics information . and i also run the sample count and stats to Extract features successfully ,however, when i use
" test_features <- extract_features(test_nm, test_stats)" to Extract features from my data, it reminds
[1] "[INFO]:Extracting features"
[1] "[INFO]:Features extracted."
Error in [.data.frame(features_all, , sds != 0) :
undefined columns selected
In addition: Warning message:
In cor(counts_nm[l_i, ], rowMeans(counts_nm[l_i, ]), method = "spearman") :
the standard deviation is zero
so what is the problem?
my deg matrix looks like
it has 630 cells 56000 genes in total .
my stats matrix looks like
i got it from separated sam.file created by star.
i am glad to learn from your guidance ,thanks a lot