We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9134e46 commit 48b5822Copy full SHA for 48b5822
R/readNULISAseq.R
@@ -696,7 +696,7 @@ readNULISAseq <- function(file,
696
qcXML$qcSample$sampleName <- dplyr::left_join(data.frame(sampleBarcode=qcXML$qcSample$sampleBarcode), samples, by="sampleBarcode")$sampleName
697
}
698
699
- if(!is.null(qcXML$qcTarget)){
+ if(!is.null(qcXML$qcTarget) && nrow(qcXML$qcTarget) > 0){
700
qcXML$qcTarget <- dplyr::rename(qcXML$qcTarget, targetBarcode=dplyr::any_of("sample"))
701
qcXML$qcTarget$QCoperator <- qcXML$TargetThresh$operators[qcXML$qcTarget$flagName]
702
qcXML$qcTarget$QCthreshold <- qcXML$TargetThresh$thresholds[qcXML$qcTarget$flagName]
0 commit comments