Simple Syntax Question
1
0
Entering edit mode
smajor • 0
@smajor-12172
Last seen 6.4 years ago

This is a simple question regarding the syntax of using the transformList.

I loaded my data with a meta data file and transformed it.

flowData <- read.flowSet(path = "170113 HTB1-CC503 AOvPI" , phenoData = "metaData4.txt",                       transformation = F)
 tData <- transform(flowData, transformList(colnames(flowData)[1:3],
                                             asinh))

I was curious to know what the [ ] values represent. Is this taking the first 3 files in my flow set and performing the "asinh" transformation on all three of them together. If that is the case, what is the purpose of the "colnames" command?

Thanks!

transform syntax transformList • 836 views
ADD COMMENT
0
Entering edit mode
smajor • 0
@smajor-12172
Last seen 6.4 years ago

I also want to add that I don't think my subsetting is working properly, so I fear that I will have a difficult tim looking at replicates within the same experiment.

sampleNames(flowData) <- as.character(pData(flowData)[,"FILENAME"])
 # Error in `[.data.frame`(pData(flowData), , "FILENAME") : 
 # undefined columns selected

My metadata.file is a .txt file with columns labeled as "FILENAME", "SAMPLE", "STRAIN", "CELLDENSITY","BUFFER", and "STAIN".

 
ADD COMMENT

Login before adding your answer.

Traffic: 957 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6