search for: baf_x

Displaying 1 result from an estimated 1 matches for "baf_x".

Did you mean: baf1
2008 Jul 09
2
replacing value in column of data frame
...first column of BAF_temp to 23" However with this last line I get an error: "Invalid factor level, NAs generated in '[<-.factor'('*tmp*', BAF_temp[,1]=="X", value=23)" (I tested if my syntax for selecting the rows of chromosome X was correct by trying BAF_X <- BAF_temp[BAF_temp[,1]=="X",] which worked to give me a data frame with only the rows of the X chromosome.) I then thought it might work better if I changed the data frame to a matrix. When I change the BAF_temp data frame into a matrix (by BAF_matrix <- as.matrix(BAF_temp)), th...