On 6/25/19 6:29 AM, Spencer Brackett wrote:
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.
In that case, you should be able to use `read.table` to pull the dataset
in from the TCGA archive and show what code you have used so far. Then
you can describe in detail what further transformations are desired.
You could have also tried to offer the output of dput(head(meth)) (but
do so before transforming to matrix. Transfoming to matrix will screw up
a lot of the information in any dataset that is not entirely numeric.
--
David.
Best,
Spencer
On Sat, Jun 22, 2019 at 3:08 AM Rui Barradas <ruipbarra...@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@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.
[[alternative HTML version deleted]]
______________________________________________
R-help@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.
______________________________________________
R-help@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.