User: Liun

gravatar for Liun
Liun30
Reputation:
30
Status:
New User
Location:
Harbin
Last seen:
2 years, 6 months ago
Joined:
2 years, 10 months ago
Email:
1**********@163.com

Posts by Liun

<prev • 4 results • page 1 of 1 • next >
0
votes
4
answers
4.3k
views
4
answers
Answer: A: R: converting Ensembl row names to Symbol ID outputs missing values in 'row.nam
... It's because not all your keys (rownames(d)) in org.Hs.eg.db. > rownames(d) "ENSG00000197421" "ENSG00000213753" "ENSG00000168746" "ENSG00000261824" "ENSG00000128310" "ENSG00000235091" > intersect(rownames(d),keys(org.Hs.eg.db,"ENSEMBL")) "ENSG00000197421" "ENSG00000213753" "ENSG0 ...
written 2.6 years ago by Liun30
1
vote
3
answers
1.1k
views
3
answers
Comment: C: Merge data rich in NA
... There would be many mistakes in the code if you use it for other format input.since i wrote it by myself.And i am sorry about that. The function using r package `dplyr`,and i agree with Mr Wang's opinion, so i use the package. The function need two matrix or data frame as input.The two matrix must ...
written 2.9 years ago by Liun30 • updated 2.9 years ago by RamRS24k
0
votes
3
answers
1.1k
views
3
answers
Comment: C: Merge data rich in NA
... > df1 id col1 col2 col3 1 1 A1 B1 C1 2 2 A2 B2 3 3 B3 C3 4 3 C4 > df2 id col1 col4 col3 1 1 A1 D1 C1 2 2 A2 D2 C2 3 3 D3 > mergeDIY(df1,df2,"id") id col1 col2 col3 col4 1 1 A1 B1 ...
written 2.9 years ago by Liun30
2
votes
3
answers
1.1k
views
3
answers
Answer: A: Merge data rich in NA
... library(dplyr) mergeDIY<-function(df1,df2,unicolname){ ldf<-left_join(df1,df2,by=intersect(names(df1),names(df2))) rdf<-right_join(df1,df2,by=intersect(names(df1),names(df2))) mergevector<-function(v1,v2){ naindex<-which(is.na(v1)) if(length(n ...
written 2.9 years ago by Liun30

Latest awards to Liun

Scholar 2.8 years ago, created an answer that has been accepted. For A: Merge data rich in NA

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 3547 users visited in the last hour