navinlabcode / copykat

Other
193 stars 53 forks source link

MHC genes and cell cycle genes are not filtered out in mouse version #70

Open sky1ove opened 1 year ago

sky1ove commented 1 year ago

Only human version has it.

if(genome=="hg20"){ HLAs <- anno.mat$hgnc_symbol[grep("^HLA-", anno.mat$hgnc_symbol)] toRev <- which(anno.mat$hgnc_symbol %in% c(as.vector(cyclegenes[[1]]), HLAs)) if(length(toRev)>0){ anno.mat <- anno.mat[-toRev, ] } }

It can be added by removing genes starting with "H2-", then cycle genes