Open HenrikBengtsson opened 6 years ago
I've updated such that:
loadPSCBSdata(x)
preserves names(x)
, and if that is not set, the sampleName()
:s of the PSCBS objects.segmentData(x)
preserves names(x)
in colnames()
of the Y
, Y1
, and Y2
elements.c3co()
already preserves the sample names as rownames()
(because transposed) of the different internal estimates.Known remaining tasks:
getToyData()
to label samples Sample1
, Sample2
, ...chromosomeNames()
for C3coSegmentationprint()
for C3coSegmentation to use chromosomeNames()
positiveFusedLasso()
to preserve sample names:
names(mu[[m]])
rownames(Y[[m]])
rownames(Yhat[[m]])
We should try to preserve sample and chromosome names throughout the pipeline, if they exist in the input data.
I've just added the
C3coSegmentation
class for objects returned bysegmentData()
, e.g.Ideally we could also report (and subset on) sample and chromosome names, e.g.
This will also be handy when plotting c3co results.