Displaying 20 results from an estimated 10000 matches similar to: "Median computation"
2014 Dec 06
1
R CMD check --as-cran and (a)spell checking
Does anyone know if it is possible to add a dictionary file of known
words that becomes part of the *built* package to tell 'R CMD check
--as-cran' not to report these words as misspelled. I want this
dictionary to come with the *.tar.gz such that it will be available
regardless where the package is checked. For instance, currently I
get:
* using log directory
2013 Apr 03
1
Select single probe-set with median expression from multiple probe-sets corresponding to same gene -AFFY
Hello All,
I need your help. I am analysing affymetrix data and have to select the
probe-set that has median expression among all the probe-sets for same
gene. This way I want to remove the redundancy by keeping the analysis
to single gene entry level. I am fully aware that it is not a nice thing
to do but I just have to do it.
To do so, I came across 'findLargest' function of
2014 Sep 30
2
Shallow copies
I have a question about shallow copies in R. Since R 3.1.0, subsetting
a dataframe with respect to its columns no longer result in deep
copies. This is an amazing change in my opinion. Now, subsetting a
data.frame by rows (or subsetting a matrix by columns or rows) still
does deep copies. In particular, it is my understanding that running a
command on a very large subset of rows (say
2017 Nov 29
2
SAMseq errors
Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)Loading required package: imputeLoading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from ?package:Biobase?:
? ? anyMissing, rowMedians
Warning messages:1: package ?samr? was
2017 Nov 29
0
SAMseq errors
Sorry forgot to use plain text format, hope this time it works:
Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)
Loading required package: impute
Loading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from
2006 Jan 20
3
function for rowMedian?
Hi
is anybody aware of a function to calculate a the median for specified
columns in a dataframe or matrix - so analogous to rowMeans?
Thanks
Max
--
2008 Sep 12
2
Finding a vector position using names rather than values
Dear R gurus,
I have been struggling with this for a while and thought you might be able to give me some guidance.
I have a data frame, on which I apply a row function. The result looks to me like a vector that retains the old row names. I then sort the vector and subsequently need to be able to identify the rank of certain values by searching for their row names. See this mock example:
>
2011 Jan 30
3
medians in Wilcoxon disagree with median function
I am sure I am opening myself up to looking stupid, but I have two samples
with medians of 613.5 and 189 (difference in location of 424 compared to
the difference suggested from the wilcoxon of 291.5)
> wilcox.test(pipwtCount,pipwdCount, conf.int=TRUE, na.rm=TRUE)
Wilcoxon rank sum test
data: pipwtCount and pipwdCount
W = 822, p-value = 0.01227
alternative hypothesis: true location
2009 Aug 21
4
help with median for each row
Hi,
I tried looking through google search on whether there's a way to computer
the median for each row of a nxn matrix and return the medians for each row
for further computation.
And also if the number of columns in the matrix are even, how could I
specify which median to use?
Thank you very much!
--
Edward Chen
[[alternative HTML version deleted]]
2012 Dec 15
3
kruskalmc, significant differences while median values are the same
Dear list!
I work with multiple Kruskal-Wallis test (kruskalmc, package pgirmess), which evaluates differences in medians among groups (5 groups). A result of a test is significant differences among some groups, while median values are the same for 4 groups (using tapply). Why?
p.s.: number of samples in groups vary from 50 to 4900.
Thanks to all, OV
.
2006 Mar 22
3
ordering boxplots according to median
Dear R-users,
Does anyone knows how I can order my serie of boxplots from lowest to
highest median (which is much better for visualization purposes).
thanks in advance,
willem
[[alternative HTML version deleted]]
2007 Apr 17
2
help comparing two median with R
Dear R users,
I am new to R and I would like to ask your help with the following
topic. I have three sets of numeral data, 2 sets are paired and a
third is independent of the other two. For each of these sets I have
obtained their basic statistics (mean, median, stdv, range ...).
Now I want to compare if these sets differ. I could compare the mean
doing a basic T test . However, I was
2012 Jul 19
3
median comparison tests
Hi,
A client has a consumption measure on each of four products. The sample
size is 75. The consumption distributions are highly skewed for each
product. He would like a pairwise comparison test of the products, much
like Tukey's HSD but using medians rather than means. Is there such a
median comparison test in R?
Thanks,
Walt
________________________
Walter R. Paczkowski, Ph.D.
2010 Apr 06
1
median of two groups
Dear all,
What is the right test to test whether the median of two groups are
statistically significant? Is it the wilcox.test, mood.test or the ks.test?
In the text book I have got there is explanation for the Wilcoxon (Mann
Whitney) test which tests ob the two variable are from the same population
and also ks.test!
Regards,
Cheba
[[alternative HTML version deleted]]
2012 Aug 23
3
Please help....normalization by the median of some control genes
Can someone show me some code to do normalization by the median of some control genes for the example below?
Many Many Thanks in advance
This strategy selects a subset of genes (called ?control genes?) and makes the median of their data distribution similar across arrays.
??? ??? id1??? id2??? id3
control1??? 0.8??? 0.7??? 0.6
control2??? 0.6??? 0.2??? 0.4
probe1??? ??? 0.3??? 0.2??? 0.5
2010 Mar 30
2
weighted.median function from package R.basic
Dear all,
I want to apply a weighted median on a huge dataset, and I remember a
function from the package R.basic that could do this using an internal
sorting algorithm qsort. This speeded things up quite a bit. Alas, I can't
find that package anywhere anymore. There is a weighted.median function in
the package limma too, but I didn't use that before.
Anybody who knows what happened to
2009 Jul 02
2
Display Median in plot
Hi,
I drew a plot with R of my data and now I would like to display the
median values of each group
above the respective datapoint in the plot. I already search for ages,
but maybe I am just blind.
I am sure that this has to be an option somewhere...
I appreciate any kind of input!
Best,
Christian
2009 Sep 08
1
Obtaining value of median survival for survfit function to use in calculation
Hi,
I'm sure this should be simple but I can't figure it out! I want to get the median survival calculated by the survfit function and use the value rather than just be able to print it. Something like this:
library(survival)
data(lung)
lung.byPS = survfit(Surv (time, status) ~ ph.ecog, data=lung)
# lung.byPS
Call: survfit(formula = Surv(time, status) ~ ph.ecog, data = lung)
1
2008 Jun 10
1
Problem with by(... , median)
Hello everyone,
I am new to R, I have been using SAS for a while. Not surprisingly, I
find R much better in graphics, which is publication ready right away.
Recently, I have been trying to calculate some basic statistics using R.
I have a dataset of multiple rows per subject. For example:
Subject Date Factor1 Factor2 Factor3
P1 0.5 1 1 3
P1 1 3 2 5
P1 2 3 5 NA
...
P2 0.5 1 6 4
P2 1 2 NA 7
P2
2003 Sep 27
2
CI on median
Dear friends, I'm probably wrong but is there anything better than
bootstrap to get a confidence interval of the median from a population with
unspecified distribution ?
Best wishes
Troels Ring, Aalborg, Denmark