hello,
i have a normalized text file named "text1" (consisting of 13 columns and 22300 rows) of which i pasted a little bit in the below
Probesets GSM1555931_wp-a2.CE GSM1555883_cp-a2.CEL GSM1555884_cp-b1.CEL
AF506028_F_at 2.841923 3.343265 4.007341
Cit.100.1.S1_x_at 3.487702 3.405457 3.873674
i want to perform heatmap with clustering by adapting my purpuse to the below code
data <- read.csv("dataset.csv", comment.char="#")
in R i changed directory and i typed so:
> library(gplots)
Attaching package: ‘gplots’
The following object is masked from ‘package:stats’:
lowess
> library(RColorBrewer)
> data <- read.text("text1", comment.char="#")
Error: could not find function "read.text"
what i did wrong pleas?
read.text is not a common function. I suggest you try read.table, and look at the documentation. Try running ?read.table
thank you
i tried documentation but too confusing for me
data <- read.table("text1", comment.char="#")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open file 'text1': No such file or directory
I suggest that you read this http://www.statmethods.net/input/importingdata.html
This forum is for specific queries of Bioconductor packages and you're having issues with fundamental R commands. You need to be more familiar with R before progressing, try some basic tutorials and get a feel for the environment/ common commands. Also, the documentation of a function or package should be your best friend in these situations.