Displaying 1 result from an estimated 1 matches for "nspots".
Did you mean:
spots
2006 Jan 24
9
Number of replications of a term
...t I don't have time by now to write a C
function.
Thanks a lot for your help,
Laetitia.
Here is the function I have written maybe I have done something not
optimized :
repVector <- function(obj){
# order IDName
ord <- gif.indexByIDName(obj)
ordobj <- obj[ord,]
nspots <- nrow(obj)
# vector of spot replicates number
spotrep <- rep(NA, nspots )
# function to get ID:Name for a given spot
spotidname <- function(ind){
paste(ordobj$genes[ind, c("ID","Name") ], collapse=":")
}...