campbio / scruff

Single Cell RNA-seq UMI Filtering Facilitator
http://bioconductor.org/packages/scruff/
Other
8 stars 9 forks source link

EmptyDrops wrapper and unfiltered data example #147

Closed aleshchyk closed 4 years ago

lintr-bot commented 4 years ago

R/runDropletUtilsEmptyDrops.R:2:1: style: Lines should not be more than 80 characters.

​#' @description distinguishes between droplets containing cells and ambient RNA in a droplet-based single-cell RNA sequencing experiment.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/runDropletUtilsEmptyDrops.R:4:1: style: Lines should not be more than 80 characters.

​#' @param lower Numeric. The lower bound on the total UMI count, at or below which all barcodes are assumed to correspond to empty droplets.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/runDropletUtilsEmptyDrops.R:5:1: style: Lines should not be more than 80 characters.

​#' @return SingleCellExperiment object with the emptyDrops output stored in coldata: emptyDroplet_Total, emptyDroplet_LogProb, emptyDroplet_PValue, emptyDroplet_Limited, emptyDroplet_FDR.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/runDropletUtilsEmptyDrops.R:15:1: style: Lines should not be more than 80 characters.

​      list.of.packages[!(list.of.packages %in% installed.packages()[, "Package"])]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/runDropletUtilsEmptyDrops.R:16:1: style: Trailing whitespace is superfluous.

​    
^~~~

R/runDropletUtilsEmptyDrops.R:20:1: style: Trailing whitespace is superfluous.

​    
^~~~

R/runDropletUtilsEmptyDrops.R:24:1: style: Trailing whitespace is superfluous.

​    
^~~~

R/runDropletUtilsEmptyDrops.R:25:18: style: Trailing whitespace is superfluous.

​    sce.matrix <- 
                 ^

R/runDropletUtilsEmptyDrops.R:27:32: style: Trailing whitespace is superfluous.

​        as.matrix(assay(sce))}, 
                               ^

R/runDropletUtilsEmptyDrops.R:38:1: style: Trailing whitespace is superfluous.

​    
^~~~

R/runDropletUtilsEmptyDrops.R:39:1: style: Lines should not be more than 80 characters.

​    # run DropletsUtils::emptyDrops on the count matrix, store the output to the sce@CalData, and return the updated sce.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/runDropletUtilsEmptyDrops.R:47:1: style: Trailing whitespace is superfluous.

​    
^~~~

R/runDropletUtilsEmptyDrops.R:48:12: style: Remove spaces before the left parenthesis in a function call.

​    return (sce)
           ^

R/runDropletUtilsEmptyDrops.R:54:1: style: Trailing whitespace is superfluous.

​  
^~

R/runDropletUtilsEmptyDrops.R:56:1: style: Trailing whitespace is superfluous.

​  
^~

R/runDropletUtilsEmptyDrops.R:58:44: style: Put spaces around all infix operators.

​  sce_test <- runDropletUtilsEmptyDrops(sce=sce, lower = 10)
                                          ~^~

R/runDropletUtilsEmptyDrops.R:59:1: style: Trailing whitespace is superfluous.

​  
^~

R/runDropletUtilsEmptyDrops.R:64:29: style: There should be a space between right parenthesis and an opening curly brace.

​#for (num in allNamesSamples){
                            ^~
codecov-io commented 4 years ago

Codecov Report

Merging #147 into upgrade will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           upgrade   #147   +/-   ##
======================================
  Coverage        0%     0%           
======================================
  Files           12     13    +1     
  Lines         1924   1952   +28     
======================================
- Misses        1924   1952   +28
Impacted Files Coverage Δ
R/runDropletUtilsEmptyDrops.R 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 423da13...15e5ff3. Read the comment docs.