Displaying 1 result from an estimated 1 matches for "afeature".
Did you mean:
feature
2009 Oct 23
1
data.frame tall skinny transformation
...5637 -0.913080902
feature3 5637 0.442477294
feature1 1321N1 -0.934748758
feature2 1321N1 -0.941455172
feature3 1321N1 -0.257921866
I have tried to do it with for loops but it is very slow.
# Make Feature data tall skinny
tsFeatures = c()
tsCellLines = c()
tsValues = c()
for(aFeature in as.character(featureData$feature)){
print(aFeature)
for(cellLine in cellLines){
tsCellLines = c(tsCellLines, as.character(cellLine))
tsValues = c(tsValues, as.numeric(subset(featureData,
feature == aFeature, select = c(which(colnames(featureData) %in%
cellLine...