PermuCut {Oscope} | R Documentation |
Define sine scroe cutoff using permuted data
PermuCut(Data, NumPermu=1000)
Data |
a gene-by-sample (isoform-by-sample) matrix indicating the rescaled expression of genes/isoforms. all values should be between [-1, 1]. |
NumPermu |
number of permuted genes to generate. |
Output contains a vector of numbers. Each number presents max sine score of a given permuted gene.
Ning Leng
aa <- sin(seq(0,1,.1)) bb <- sin(seq(0.5,1.5,.1)) cc <- sin(seq(0.9,1.9,.1)) tmp <- matrix(sin(rnorm(330)),ncol=11) rownames(tmp) <- paste0("tmp",1:30) Dat <- rbind(aa, bb, cc, tmp) res1 <- PermuCut(Dat,100)