Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
xjsun1221 committed Mar 15, 2021
1 parent 9ceee77 commit b09bf1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/trans_exp.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ trans_exp = function(exp,mrna_only = F,lncrna_only = F,gtex = F){
return(lnc_exp)
}else{
expa = rbind(mRNA_exp,lnc_exp)
expa = !duplicated(rownames(expa))
return(expa)
k = !duplicated(rownames(expa))
expa = expa[k,]
return(expa)
message(paste0(sum(!k),
" of duplicaterd genes removed"))
}
}

Expand Down

0 comments on commit b09bf1e

Please sign in to comment.