search for: nperm

Displaying 15 results from an estimated 15 matches for "nperm".

Did you mean: perm
2006 Aug 02
0
[PATCH] xenstore-chmod
...ey <mode [modes...]>", progname); #endif } @@ -78,10 +80,61 @@ do_rm(char *path, struct xs_handle *xsh, } #endif +#if defined(CLIENT_chmod) +#define PATH_SEP ''/'' +#define MAX_PATH_LEN 256 + +static void +do_chmod(char *path, struct xs_permissions *perms, int nperms, int upto, + int recurse, struct xs_handle *xsh, xs_transaction_t xth) +{ + int ret; + + if (!path[0]) + return; + + ret = xs_set_permissions(xsh, xth, path, perms, nperms); + if (!ret) + err(1, "Error occurred setting permissions on ''%s''", path); + + if...
2011 Mar 30
2
[PATCH] xenstore-stat v2
...ot;r-"; + case XS_PERM_READ|XS_PERM_WRITE: + return "rw"; + case XS_PERM_NONE: + return "--"; + default: + return "uu"; + } +} + +static void +do_stat(struct xs_handle *xsh, xs_transaction_t xth, char *path) +{ + unsigned int i, nperms; + struct xs_permissions *perms; + + perms = xs_get_permissions(xsh, xth, path, &nperms); + if (!perms) + errx(1, "Unable to get permission on %s\n", path); + + if (!nperms) { + free(perms); + errx(1, "Cannot determine owner of %s\n", path);...
2010 May 24
1
Error during wrapup: cannot open the connection
...;- x[dd,11:20] + u > y <- c(rep(1,10),rep(2,10)) > > data <- list ( x=x, y=y, geneid=as.character(1:nrow(x)), + genenames=paste("g",as.character(1:nrow(x))) ) > > samr.obj <- samr ( data, resp.type="Two class unpaired", + nperms=100, logged2=TRUE ) Error in samr(data, resp.type = "Two class unpaired", nperms = 100, logged2 = TRUE) : unused argument(s) (logged2 = TRUE) Error during wrapup: cannot open the connection > > > samr.obj <- samr ( data, resp.type="Two class unpaired", +...
2012 Nov 29
0
Simper analysis with Morisita-Horn
...ength(permutations) == 1) { perm <- shuffleSet(nobs, permutations, ...) } else { perm <- permutations } if (ncol(perm) != nobs) stop(gettextf("'permutations' have %d columns, but data have %d rows", ncol(perm), nobs)) nperm <- nrow(perm) if (nperm > 0) perm.contr <- matrix(nrow = P, ncol = nperm) for (i in 1:nrow(comp)) { group.a <- comm[group == comp[i, 1], ] group.b <- comm[group == comp[i, 2], ] n.a <- nrow(group.a) n.b <- nrow(group.b) c...
2007 Mar 16
2
MANOVA permutation testing
...t <- c() for (i in 1:1000){ wilks <- summary.manova(manova(maxent~sample(max.spec)), test="Wilks")$stats[1,2] result.vect <- c(res.vect,wilks) } maxent is the data, max.spec is a vector of species names. Comparing the result.vect with the wilks value for the unpermuted data suggests there are very significant differences among species -- but did I do this properly? -- Regards, Tyler Smith
2001 Apr 28
2
Mantel's randomization test
Dear all, Dose anyone know whether there is a good R packege or program for Mantel's randomization test? Thanks in advance. ------------------------ Takashi Mizuno zoono at sci.osaka-cu.ac.jp Plant Ecology Lab. Osaka City University ------------------------ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2010 Aug 24
0
SAMR for paired samples
Hi R-help, I am trying to use 'samr' for 10 pre and post paired samples to test whether post is different from pre (i.e., the location shift for the delta of (post-pre)). However, I got an error message saying > samr.obj<-samr(d, resp.type="Two class paired", nperms=100, random.seed=100) perm= 1 Error in !logged2 : invalid argument type Does anyone know what this means? or how to solve this error? Also, the options 'One Sample paired' is for testing the differences directly (d1, d2,...), I suppose. The source code is ***************************...
2007 Nov 15
1
homogenity inside groups
Dear all I would like to show my audience that some variables are homogenous inside groups but different outside. I can use by with summary for all variables by(iris[,1:4], iris$Species, summary) what can be quite messy in case of more than few variables and about 8 groups or densityplot for one variable densityplot(~Petal.Length | Species, iris) I have two questions: 1. Is there
2016 Apr 18
3
Indicator Species analysis; trouble with multipatt
...do to my data organization. After reorganizing and reorganizing, nothing has helped. > data<- read.csv(file="Data1.csv", header=TRUE, row.names=1, sep=",") > ap<-data[c(1:24, 1:81)] > groups<-c(rep(1:4,6)) > indval<- multipatt(ap, groups, control = how(nperm=999)) *Error in tx %*% comb : non-conformable arguments* -- Ansley Silva *"The clearest way into the Universe is through a forest wilderness." John Muir* *Graduate Research Assistant*
2011 Feb 09
1
samr - extract genes from siggenes.table
...lues 1,2 classes <- c(-1,-2,1,2) #prepere the data for the samr analysis data.x <-as.matrix(normData[,8:11]) d=list(x=data.x,y=classes, geneid=as.character(normData[,1]),genenames=as.character(normData[,1]), logged2=TRUE) samr.obj<-samr(d, resp.type="Two class paired", nperms=100) delta.table <- samr.compute.delta.table(samr.obj) delta=0.4 siggenes.table<-samr.compute.siggenes.table(samr.obj,delta, d, delta.table,min.foldchange=2) genes.up <- as.data.frame(siggenes.table$genes.up) genes.down <- as.data.frame(siggenes.table$genes.lo) the data set...
2016 Apr 19
0
Indicator Species analysis; trouble with multipatt
...n. After reorganizing and reorganizing, nothing has > helped. > >> data<- read.csv(file="Data1.csv", header=TRUE, row.names=1, sep=",") >> ap<-data[c(1:24, 1:81)] >> groups<-c(rep(1:4,6)) >> indval<- multipatt(ap, groups, control = how(nperm=999)) > *Error in tx %*% comb : non-conformable arguments* > > > > -- > Ansley Silva > > > *"The clearest way into the Universe is through a forest wilderness." > John > Muir* > > > *Graduate Research Assistant* > ______________________...
2005 Dec 26
0
problem with samr
...:\samrgenes1000.txt")) B <- as.matrix(read.table("D:\genenames1000.txt")) y1 <- c(rep(1,20),rep(2,6)) #there are 20 chips of one kind and 6 of the other kind. datasam = list(x=A,y=y1,genenames=B,logged2=TRUE) testsamr <-samr(datasam,resp.type ="Two class unpaired",nperms=100) del <- 2 samr.plot(testsamr,delta) delta.table <- samr.compute.delta.table(testsamr) siggenes.table <-samr.compute.siggenes.table(testsamr,del,datasam,delta.table) sink() I am getting the following error: Error in samr.compute.siggenes.table(testsamr, del, datasam, delta.table) :...
2013 Jul 06
1
[PATCH 1/2] xenstore: don't die on access-denied child nodes in 'xenstore ls'
...h < (linewid + len + TAG_LEN)) { @@ -192,12 +197,12 @@ static void do_ls(struct xs_handle *h, char *path, int cur_depth, int show_perms } } } - free(val); if (show_perms) { perms = xs_get_permissions(h, XBT_NULL, newpath, &nperms); if (perms == NULL) { - warn("\ncould not access permissions for %s", e[i]); + if (val != NULL) + warn("\ncould not access permissions for %s", e[i]); } else { int i; @@ -2...
2016 Apr 19
0
Indicator Species analysis; trouble with multipatt
...fter reorganizing and reorganizing, nothing has > helped. > >> data<- read.csv(file="Data1.csv", header=TRUE, row.names=1, sep=",") >> ap<-data[c(1:24, 1:81)] >> groups<-c(rep(1:4,6)) >> indval<- multipatt(ap, groups, control = how(nperm=999)) > *Error in tx? %*% comb : non-conformable arguments* > > > > -- > Ansley Silva > > > *"The clearest way into the Universe is through a forest wilderness." > John > Muir* > > > *Graduate Research Assistant* > ______________...
2008 Jun 10
1
samr result
Hello list! I have a proble trying to perform a SAM analysis using the function samr from the samr package. I have put the option *center.arrays=TRUE *in order to scale all the experiments to median=0. I would like to retrieved the scaled data but it seems that samr does not return it...Does anyone have any idea on this? Thanks a lot!!! E. [[alternative HTML version deleted]]