[R] pamr.train()

Jia Xu dolremi at gmail.com
Tue Jan 20 19:24:57 CET 2015

Hi, Beverly:
  In pamr, only numerical features can be accepted. You may check your
dataset to make sure all the data is numerical before training.

On Mon, Jan 19, 2015 at 5:14 PM, Beverly Nguyen <beverly893 at gmail.com>

> I have recently started learning how to use R, and I am trying to create an
> False Discovery Rate plot for my data. I loaded the "pamr" package, and am
> using a data set with 11 columns: column 1 is a list of Gene IDs, column 2
> is a list of Gene Symbols, and columns 3-11 are the dependency rates of
> different samples. I should mention that Row 1 contains the class labels
> (NRas Dependent or NRas Independent), and Row 2 contains the sample labels,
> of which there are 9.
> I converted my excel file into a text file and ran it in R using this
> input:
> > m.data <- pamr.from.excel("MData.txt", 11, sample.labels=TRUE)
> I then ran:
> > m.train <- pamr.train(m.data)
> I received this error message:
> Warning: a class contains only 1 sampleError in quantile.default(sd,
> offset.percent/100) :
>   missing values and NaN's not allowed if 'na.rm' is FALSE
> Error during wrapup: cannot open the connection
> I am at a complete lost as to what I should do. I've checked to make sure
> that there are no missing values in my data, but I have no idea what to do
> next.
>         [[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.

Jia Xu

	[[alternative HTML version deleted]]

More information about the R-help mailing list