r - subset data frame without specifying columns for plotting -


is possible subset data frame without specifying columns? keep getting error message "undefined columns selected". don't want specify column trying generate plot size of each point is:

1 - (a value associated data point) 

the annoying thing actual value i'm trying located in separate file (not in plotting data). so, in other words, if plotting x vs y, each point (x,y), there associated value (say z) in different file can locate based on sharing identical row.names(). have far (which doesn't work) this:

cex.val <- 1 - mutsig[row.names(dataall)] plot(dataall, col="red", pch=16, cex=cex.val) 

mutsig , dataall data frames. fails each time requesting specified column. of course work if do:

cex.val <- 1 - mutsig[row.names(dataall[1,])] 

but i'm subsetting 1 specific entry, , every point size based off 1 entry. i'd able plot every point own cex value based on mutsig subsets off row name of dataall point being plotted


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -