Git Product home page Git Product logo

bcbiosmallrna's Introduction

bcbioSmallRna

Build Status Project Status: Active - The project has reached a stable, usable state and is being actively developed.

Quality control and differential expression for bcbio small RNA-seq experiments.

Installation

This is an R package.

BiocManager("lpantano/bcbioSmallRna")

devtools method

install.packages("devtools")
devtools::install_github("lpantano/bcbioSmallRna")

bcbiosmallrna's People

Contributors

lpantano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bcbiosmallrna's Issues

Cannot upload bcbio run

Trying to load a bcbio run with these commands:

path <- "/home/kokyriakidis/Downloads/BCBIO/mirqc_bcbio/final/2020-02-23_mirqc_bcbio"
sbcb <- loadSmallRnaRun(path, "condition")

And I get:

Error in x[[...]] <- m : replacement has length zero
3.
`[[<-.factor`(`*tmp*`, "sample", value = NULL)
2.
`[[<-`(`*tmp*`, "sample", value = NULL)
1.
loadSmallRnaRun(file.path(path, "final", "2020-02-23_mirqc_bcbio"), "condition")

I did some digging in the code. First, this change is necessary I think.

    match <- str_match(project_dir, project_dir_pattern)
should change to:
    match <- str_match(basename(project_dir), project_dir_pattern)

The part that breaks the code is this:

    csv <- read.csv(csv_file, row.names = 1L, check.names = FALSE)
    #This line breaks the code# csv <- csv[, apply(!is.na(csv), 2, all)]
    if (is.null(colData)) {
        col_data <- csv
    }
    else {
        col_data <- as.data.frame(colData)
    }
    col_data[["sample"]] <- rownames(col_data)

Removing this line makes the function work fine. This is happening when there is only one column with info about the samples and after the removal of the other fields, the format is disrupted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.