Output for pasting multiple vectors
Mr. Barradas, My apologies for the delayed response. No, (meth) is not a dataset within CRAN. I?m not sure why my supervisor wrote that in as the object for the bit of script I shared previously. Assuming that the correct object for this particular command is to be a data, the one with which we are working is a TCGA dataset containing Glioblastoma data. We are attempting to analyze available methylation information. Best, Spencer
On Sat, Jun 22, 2019 at 3:08 AM Rui Barradas <ruipbarradas at sapo.pt> wrote:
Hello, I cannot find the dataset. meth is a (CRAN) package dataset? Rui barradas ?s 02:11 de 22/06/19, Spencer Brackett escreveu:
Hello, I am attempting to paste multiple vectors using the paste() function for
a
dataset that I'm working with. Shouldn't I be receiving some kind of output as a result of the following? meth=as.matrix(meth)
colnames(meth) = sapply(colnames(meth), function(i){
+ c1 = strsplit(i,split ='.', fixed = T)[[1]]
+ c1[4] = paste(strsplit(c1[4],split = "",fixed = T)[[1]][1:2],collapse =
"")
+ paste(c1,collapse = ".")
+ {
Best,
Spencer Brackett
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.