cellity icon indicating copy to clipboard operation
cellity copied to clipboard

the standard deviation is zero and i cannot Extract features from my data

Open chengarthur opened this issue 9 years ago • 0 comments

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 imageit has 630 cells 56000 genes in total .

my stats matrix looks like image i got it from separated sam.file created by star.

i am glad to learn from your guidance ,thanks a lot

chengarthur avatar Feb 13 '17 09:02 chengarthur