... [other warnings]
Error in `colnames<-`(`*tmp*`, value = gsub(intensityString, "", colnames(markers))) :
attempt to set 'colnames' on an object with less than two dimensions
In addition: Warning messages:
1: In grepl(intensityString, colnames(cellData)) :
argument 'pattern' has length > 1 and only the first element will be used
2: In if (!any(grepl(intensityString, colnames(cellData))) & intensityString != :
the condition has length > 1 and only the first element will be used
3: In grepl(intensityString, colnames(cellData)) :
argument 'pattern' has length > 1 and only the first element will be used
4: In grep(intensityString, colnames(cellData)) :
argument 'pattern' has length > 1 and only the first element will be used
5: In gsub(intensityString, "", colnames(markers)) :
argument 'pattern' has length > 1 and only the first element will be used
The offending line in ?SegmentedCells:
intensityString | A string which can be used to identify the columns which contain marker intensities. (This needs to be extended to take the column names themselves.)
The documentation for
SegmentedCells
implies thatintensityString
can be a vector of column names, but doing so raises an error:The offending line in
?SegmentedCells
: