Hi
I have implented boxplots in my script to create box plots
BoxplotsCheck <- readline(prompt = "Would you like to create boxplots for any
Feature? (y/n):")
if (BoxplotsCheck == "y"){
BoxplotsFeature <- readline(prompt = "Which Feature would you like to
create a Boxplot for?:")
Boxp
Hi
I am attempting to do a loadings plot from a plsr object. I have managed to do
this using the gasoline data that comes with the pls package. However when I
conduct this on my dataset i get the following error message.
>plot(BHPLS1, "loadings", comps = 1:2, legendpos = "topleft", labels =
While doing pls I found the following problem
> BHPLS1 <- plsr(GroupingList ~ PCIList, ncomp = 10, data = PLSdata, jackknife
> =
>FALSE, validation = "LOO")
when not enabling jackknife the command works fine, but when trying to enable
jackknife i get the following error.
>BHPLS1 <- plsr(Gr
Hi
When I call for the loadings of my plsr using the command,
x <- loadings(BHPLS1)
my loadings contain variable names rather than numbers.
>str(x)
loadings [1:94727, 1:10] -0.00113 -0.03001 -0.00059 -0.00734 -0.02969 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:94727] "PCIList1" "PCIL
Hi
I am analysing a dataset of 40 samples each with 90,000 intensity measures for
various peptides. I am trying to identify the Biomarkers (i.e. most significant
peptides). I beleive that PLS with jack knifing, or alternativeley
CMV(cross-model-validation) are multivariateThe 40 samples belong
d[1], data
= FullDataListTrans, validation = "LOO")
Where am I going wrong. Also what is the easiest method to identify which of
the
94,000 peptides are most important to the variance between groups.
Thanks in advance for any help
Amit Patel
[[alternative HTML version delet
Hi
I have a dataset from biological data with forty samples whichh relate to four
different treatments. Each sample has thousands of values but as usuual
contains
missing values
I want to use EM to imput these missing values. I am doing tthis using
amelia. Do I need to specify the various gr
Hi
I have a dataset from biological data with forty samples whichh relate to four
different treatments. Each sample has thousands of values but as usuual
contains
missing values
I want to use knn to imput these missing values. I am doing tthis using
knn.impute. Do I need to specify the various
Hi
I have used the amelia command from the Amelia R package. this gives me a
number
of imputed datasets.
This may be a silly question, but i am not a statistician, but I am not sure
how
to combine these results to obtain the imputed dataset to usse for further
statistical analysis. I have lo
Hi
I have found a little problem with an R script. I am trying to merge some data
and am finding something unusual going on. As shown below I am trying to
assign (MatchedValues[Value2,Value]) to (ClusteredData[k,Value]) which are two
separate dataframes.
1) By the following command you can s
be doing wrong.
I havent attached the data that the script uses because I'm pretty sure the
principles i have used are right
when running the script i get the above error on line 158 and 159
I am more than happy to provide further information(e.g the dataset) if it he
mnames")=List of 2
..$ : chr [1:65530] "4" "5" "6" "7" ...
..$ : chr [1:40] "X1" "X2" "X3" "X4" ...
> ?class
> class(FeaturePresenceMatrix)
[1] "matrix"
Amit Patel wrote:
> Hi
> I am tryin
Hi
I am trying to calculate the row sums of a matrix i have created
The matrix ( FeaturePresenceMatrix) has been created by
1) Read csv
2) Removing unnecesarry data using [-1:4,] command
3) replacing all the NA values with as.numeric(0) and all others with
as.numeric
(1)
When I carry out the
Sorry i had a misprint in the appendix code in the last email
Hi I needed some help with ANOVA
I have a problem with My ANOVA
analysis. I have a dataset with a known ANOVA p-value, however I can
not seem to re-create it in R.
I have created a list (zzzanova) which contains
1)Intensity Values
2)
Hi I needed some help with ANOVA
I have a problem with My ANOVA
analysis. I have a dataset with a known ANOVA p-value, however I can
not seem to re-create it in R.
I have created a list (zzzanova) which contains
1)Intensity Values
2)Group Number (6 Different Groups)
3)Sample Number (54 different
Hi
I have tried many attempts but cant get the loop right, as I am not a strong
programmer. What I am basically trying to do is compare 2 spreadsheets. The
problem is that one of them only contain a portion of the overall data
(TESTSAMP), where the other has a full datasetFULLSAMP. From the com
Hi
I am conducting ANOVA using the aov function
I am also conducting TukeyHSD to obtain which of the groups show variance
How can I obtain the first three p values from the list below?
>zzz.aov <- aov(Intensity ~ Group, data = zzzanova)
> TukeyHSD(zzz.aov)
Tukey multiple comparisons of means
Hi
I am attempting Anova analysis to compare results from four groups
(Samp1-4) which are lists of intensities from the experiment. I am
doing this by first creating a structured list of the data and then
conducting the ANOVA (Script provided below). Im an R beginner so am
not sure if I am using t
I am attempting Anova analysis to compare results from four groups (Samp1-4)
which are lists of intensities from the experiment. I am doing this by first
creating a structured list of the data and then conducting the ANOVA (Script
provided below). Im an R beginner so am not sure if I am using th
bartlett.test(xbartlett2, gbartlett24)$p.value
Error in bartlett.test.default(xbartlett2, gbartlett24) :
there must be at least 2 observations in each group
(There are at least 2 unique observations in each group)
Thanks in advance
- Original Message
From: "Richardson, Patri
Hi
I am trying to conduct a Bartlett test between two groups Samp 1 and Samp 2,
both of which are vectors of equal length. I cant find any information on how
to do this. Does the data need to be in a structured list.
Thanks in advance
__
R-help
his
causes all the pairs with even one NA return an NA value. I would prefer not to
use for loops as this would slow the script down considerably.
#SCRIPT STARTS
rm(list=ls())
setwd("C:/Documents and Settings/Amit Patel")
#na.strings makes na's readable
zz <- read.csv("Pr95
Hi I am implementing the t.test in a loop and where the data is the same i get
an error message.
Error in t.test.default(Samp3, Samp1, na.rm = TRUE, var.equal = FALSE, :
data are essentially constant
The script i am using is
for (i in 1:length(zz[,1])) {
Samp1 <- zz[i,2:17]
Samp2 <- zz[
Hi
I am trying to create a column in a data frame which gives a sigificane score
from 0-7. It should read values from 7 different colums and add 1 to the
counter if the value is <=0.05. I get an error message saying
Error in if (ALLRESULTS[i, 16] <= 0.05) significance_count = significance_cou
Hi
i am using a script which involves the following loop. It attempts to reduce a
data frame(zz) of 95000 * 41 down to a data frame (averagedreplicates) of 95000
* 21 by averaging the replicate values as you can see in the script below. This
script however is very slow (2days). Any suggestions
Hi
I have a vector of data lets call zz (40 values from 4 samples)
the data is already in groups, i can even split up the samples using
SampA <- zz[,2:11]
SampB <- zz[,12:21]
SampC <- zz[,22:31]
SampV <- zz[,32:41]
I would like an output that gives me 4 boxplots on one plot
one boxplot for the
--- On Fri, 15/5/09, Amit Patel wrote:
> From: Amit Patel
> Subject: Help with loops
> To: r-help@r-project.org
> Date: Friday, 15 May, 2009, 12:17 PM
> Hi
> I am trying to create a loop which averages replicates in
> my data.
> The original data has many rows. and co
Hi
I am trying to create a loop which averages replicates in my data.
The original data has many rows. and consists of 40 column zz[,2:41] plus row
headings in zz[,1]
I am trying to average each set of values (i.e. zz[1,2:3] averaged and placed
in average_value[1,2] and so on.
below is my script
I have csv files imported in r each with 2 columns and many many rows. I have
sorted the data in them but want to extract some values.
The first column is an ID
The second is a p-value ( now sorted in increasing order with NA's last)
I want to extract the rows with a p-value of less than 0.05)
Hi
I have done ANOVA on a dataset (See Below) but am having problems retreiving
the p-value. I am assuming that Pr(>F) is the p-value but cannot get this value
or in fact any other value (e.g. DF) from the summary.Any suggestions??
I have tried
sum<-summary(zzz.aov)
> sum$Pr(>F)
Error: unexpec
Hi
I have 2 sets of data that I want to do a Wilcoxon test on. They are of the
same dimension. One has 4 zero values and the other has 5.
> dim(SampA)
[1] 1 10
> dim(SampV)
[1] 1 10
I get the folowing error
Error in wilcox.test.default(SampA, SampV, na.rm = TRUE, paired = FALSE, :
'x' mu
Hi I have managed to do a paired t-test with a data set
i have 5 colums of data im dealing with
GENE SampA SampB SampC SampVehicle
ctcc 859 na145 24
gtcg 45 5 54 69
and so on but they are much larger col
Hi I have managed to do a paired t-test with a data set
i have 5 colums of data im dealing with
GENEÂ Â Â Â Â Â Â Â Â Â Â Â Â SampAÂ Â Â Â Â Â Â Â Â Â Â Â Â
SampBÂ Â Â Â Â Â Â Â Â Â Â Â Â SampCÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
SampVehicle
ctcc                 Â
859Â Â
MCI
A1
A2
A13
A14
A23
A24
A33
A34
Grouped together
56766
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
6459
N/A
N
hi Im having some problems reshaping
Ive managed to apply it but have some problems
the attached document will explain
any help is appreciated
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the po
Hi
I have data in the format below
    Age       V1      V2    V3      V4
  23646        45190 50333 55166 56271
  26174        35535 38227 37911 41184
  27723         25691 25712 26144 26398
and would like to sort it as fo
When doing the t-test in the below manner will r compare each element of the
array with the relevant one. I.e. if i was comparing x and y would (1 and 0)
and (1 and 9) be treated as separate variables. Or does it just assume one
variable.
# test data
x <- c(1,1.1,1.15,1.2,1.21,1.23)
y <- c(
Hi
I Have a very large dataset that I would like to conduct ANOVA tests on. Im not
a very strong programmer so any help would be appreciated.
the format is
Identifier            A1      A2       B1    Â
B2Â Â Â Â Â Â C1Â Â C2Â Â Â Â Â Norm1Â Â Â Â Â Â Â Â N
Hi
Does anyone know how I can use structured arrays in r
similar to a dataframe in matlab
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Hi
I am attempting PCA and HCA on a dataset
The head of the table looks like this
VariableSamp1Samp2Samp3
109232
276 352
222 244
I cant stop R from treati
Does anyone know an easy way to convert all the zero values in a imported csv
table into NA's
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the pos
tHANKS FOR ALL YOUR SUGGESTIONS
Kind Regards
Amit Patel
- Original Message
From: Gregor Gorjanc <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thursday, 6 December, 2007 12:06:00 AM
Subject: Re: [R] Dealing with NA's in a data matrix
Henrique Dallazuanna gmail.com>
Hi I have a matrix with NA value that I would like to convert these to a value
of 0.
any suggestions
Kind Regards
Amit Patel
___
ttp://uk.promotions.yahoo.com/forgood/
[[alternative HTML version deleted
2")
#add labels (0.005 and 0.003 offset to aviod obscuring points
Kind Regards
Amit Patel
___
now.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing li
hat I want is to have colum1 from original data to be the xlabel, column 2 to
be the ylabel and the 3rd colum to be the values in the matrix
Any help is appreciated.
Kind Regards
Amit Patel
___
now.
[[alternative HTML v
45 matches
Mail list logo