Displaying 2 results from an estimated 2 matches for "rs186750".
Did you mean:
  rs186750.1
  
2008 Feb 14
2
Replacing columns in a data frame using a previous condition
...one:
> # Function to identify columns with 3 or more categories
> tx=function(x) ifelse(dim(table(x))>4,1,0)
> # Identifying the columns
> M4=apply(GUPN[,-c(1:6)],2,tx)
> names(which(MR==1))                    # Step 1
 [1] "rs335322"     "rs335322.1"   "rs186750"     "rs186750.1"
"rs1565901"    "rs1565901.1"  "rs1565902"
 [8] "rs1565902.1"  "rs11131334"   "rs11131334.1" "rs1948616"    "
rs1948616.1"  "rs4484334"    "rs4484334.1"
[15] "rs1...
2008 Feb 14
0
Replacing columns in a data frame using a previous condition (SOLVED)
...tify columns with 3 or more categories
> > tx=function(x) ifelse(dim(table(x))>4,1,0)
>
> > # Identifying the columns
> > M4=apply(GUPN[,-c(1:6)],2,tx)
> > names(which(MR==1))                    # Step 1
>  [1] "rs335322"     "rs335322.1"   "rs186750"     "rs186750.1"
> "rs1565901"    "rs1565901.1"  "rs1565902"
>  [8] "rs1565902.1"  "rs11131334"   "rs11131334.1" "rs1948616"    "
> rs1948616.1"  "rs4484334"    "rs4484334.1"...