Displaying 2 results from an estimated 2 matches for "rs335322".
Did you mean:
rs335322.1
2008 Feb 14
2
Replacing columns in a data frame using a previous condition
...rite the columns in GERU.
Here is what I've done:
> # 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" "rs44843...
2008 Feb 14
0
Replacing columns in a data frame using a previous condition (SOLVED)
...t I've done:
>
> > # 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"...