<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
prefix="og: http://ogp.me/ns#">
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Language" content="en-us" />
  <meta name="robots" content="all" />
  

  <meta property="og:title" content="BASiCS" />
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="Bioconductor" />
  <meta property="og:description" content="Single-cell mRNA sequencing can uncover novel cell-to-cell heterogeneity in gene expression levels in seemingly homogeneous populations of cells. However, these experiments are prone to high levels of technical noise, creating new challenges for identifying genes that show genuine heterogeneous expression within the population of cells under study. BASiCS (Bayesian Analysis of Single-Cell Sequencing data) is an integrated Bayesian hierarchical model to perform statistical analyses of single-cell RNA sequencing datasets in the context of supervised experiments (where the groups of cells of interest are known a priori, e.g. experimental conditions or cell types). BASiCS performs built-in data normalisation (global scaling) and technical noise quantification (based on spike-in genes). BASiCS provides an intuitive detection criterion for highly (or lowly) variable genes within a single group of cells. Additionally, BASiCS can compare gene expression patterns between two or more pre-specified groups of cells. Unlike traditional differential expression tools, BASiCS quantifies changes in expression that lie beyond comparisons of means, also allowing the study of changes in cell-to-cell heterogeneity. The latter can be quantified via a biological over-dispersion parameter that measures the excess of variability that is observed with respect to Poisson sampling noise, after normalisation and technical noise removal. Due to the strong mean/over-dispersion confounding that is typically observed for scRNA-seq datasets, BASiCS also tests for changes in residual over-dispersion, defined by residual values with respect to a global mean/over-dispersion trend." />
  <meta property="og:url" content="http://bioconductor.org/packages/BASiCS/" />
  <meta property="og:image" content="http://bioconductor.org/images/logo/jpg/bioconductor_logo_rgb.jpg" />



  
  
  
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
    <script type="text/javascript">
        if (!window.location.href.match(/bioconductor\.org|\/\/localhost/i)) {
            var mirror = true;
            document.write('<base href="//www.bioconductor.org"/>\n');
        } 
    </script>
  
  
  <script src="/js/jquery.tools.min.js"></script>

  
  
  <title>Bioconductor - BASiCS</title>
  <link rel="stylesheet" type="text/css" href="/style/bioconductor.css" media="screen" />
  <link rel="SHORTCUT ICON" type="image/x-icon" href="/favicon.ico" />
  <link rel="ICON" type="image/x-icon" href="/favicon.ico" />
  <script type="text/javascript" src="/js/bioconductor.js"></script>
 
  <script type="text/javascript" src="/js/jquery.corner.js"></script>
  <script type="text/javascript" src="/js/jquery.timeago.js"></script>
  <script type="text/javascript" src="/js/bioc-style.js"></script>
  <script type="text/javascript" src="/js/versions.js"></script>

  <!-- Google Analytics script -->
  <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-9338486-1']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
</head>

  <body>
    <a name="top"></a>

<!-- a few hooks for screen readers -->
<a href="#site-navigation" title="Jump to site nav"></a>

<a href="#site-map" title="Jump to site map"></a>


    <div id="SiteContainer" class="SiteContainer">
      
      <div id="PageContent" class="PageContent WithRightRail">
      


	
	  <div id="PageBreadcrumbs" class="PageBreadcrumbs">
  <ul>
    
    
    
      
	  	
        <li><a href="/">Home</a></li>
      
    
    
      
	  	
        <li><a href="/packages/3.11/BiocViews.html">Bioconductor 3.11</a></li>
      
    
    
      
	  	
        <li><a href="/packages/3.11/bioc">Software Packages</a></li>
      
    
    
      
        <li>BASiCS</li>
      
    
  </ul>
</div>

	

	
	
	    <h1>BASiCS</h1>

  




<div class='do_not_rebase'>

	DOI: <a title="DOI for use in publications, etc., will always redirect to current release version (or devel if package is not in release yet)." href="https://doi.org/doi:10.18129/B9.bioc.BASiCS">10.18129/B9.bioc.BASiCS</a> &nbsp;

<a title="Share on Facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fbioconductor.org%2Fpackages%2F3.11%2Fbioc%2Fhtml%2FBASiCS.html"><img height="16" width="16" src="/images/facebook.png"/></a> &nbsp;
<a title="Share on Twitter" href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fbioconductor.org%2Fpackages%2F3.11%2Fbioc%2Fhtml%2FBASiCS.html&text=BASiCS:Bayesian%20Analysis%20of%20Single-Cell%20Sequencing%20data"><img height="16" width="16" src="/images/twitter.png"/></a>

   

   <p>This package is for version 3.11 of Bioconductor;
for the stable, up-to-date release version, see
<a href="/packages/BASiCS/">BASiCS</a>.</p>


   

    <h2>Bayesian Analysis of Single-Cell Sequencing data</h2>

    <p>
	Bioconductor version: 3.11
    </p>

    <p>Single-cell mRNA sequencing can uncover novel cell-to-cell heterogeneity in gene expression levels in seemingly homogeneous populations of cells. However, these experiments are prone to high levels of technical noise, creating new challenges for identifying genes that show genuine heterogeneous expression within the population of cells under study. BASiCS (Bayesian Analysis of Single-Cell Sequencing data) is an integrated Bayesian hierarchical model to perform statistical analyses of single-cell RNA sequencing datasets in the context of supervised experiments (where the groups of cells of interest are known a priori, e.g. experimental conditions or cell types). BASiCS performs built-in data normalisation (global scaling) and technical noise quantification (based on spike-in genes). BASiCS provides an intuitive detection criterion for highly (or lowly) variable genes within a single group of cells. Additionally, BASiCS can compare gene expression patterns between two or more pre-specified groups of cells. Unlike traditional differential expression tools, BASiCS quantifies changes in expression that lie beyond comparisons of means, also allowing the study of changes in cell-to-cell heterogeneity. The latter can be quantified via a biological over-dispersion parameter that measures the excess of variability that is observed with respect to Poisson sampling noise, after normalisation and technical noise removal. Due to the strong mean/over-dispersion confounding that is typically observed for scRNA-seq datasets, BASiCS also tests for changes in residual over-dispersion, defined by residual values with respect to a global mean/over-dispersion trend.</p>

    <p>Author: Catalina Vallejos [aut, cre], Nils Eling [aut], Alan O'Callaghan [aut], Sylvia Richardson [ctb], John Marioni [ctb] </p>

    <p>Maintainer: Catalina Vallejos &#x3c;&#x63;&#x61;&#x74;&#x61;&#x6c;&#x69;&#x6e;&#x61;&#x2e;&#x76;&#x61;&#x6c;&#x6c;&#x65;&#x6a;&#x6f;&#x73;&#x20;&#x61;&#x74;&#x20;&#x69;&#x67;&#x6d;&#x6d;&#x2e;&#x65;&#x64;&#x2e;&#x61;&#x63;&#x2e;&#x75;&#x6b;&#x3e; </p>


   <div id="bioc_citation_outer">
    <p>Citation (from within R,
      enter <code>citation("BASiCS")</code>):</p>
      <div id="bioc_citation" class="bioc_citation"></div>
    </div>

    <h3>Installation</h3>

    <p>To install this package, start R (version
    "4.0") and enter:
    </p>

    <pre>if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BASiCS")</pre>

    <p>For older versions of R, please refer to the appropriate
	<a href="/about/release-announcements/">Bioconductor release</a>.
    </p>

    <h3>Documentation</h3>


  
<p>To view documentation for the version of this package installed
    in your system, start R and enter:
</p>
<pre>browseVignettes("BASiCS")</pre>
    <p>&nbsp;</p>



    <table>
	
	
	
	    
		
		
		<tr class="row_odd">
		    <td class="docFixedWidth">
			
			<a href="../vignettes/BASiCS/inst/doc/BASiCS.html">HTML</a>
			
		    </td>
		    <td class="docFixedWidth">
			
			<a onClick="javascript: pageTracker._trackPageview('../vignettes/BASiCS/inst/doc/BASiCS.R'); " href="../vignettes/BASiCS/inst/doc/BASiCS.R">R Script</a>
			
		    </td>
		    <td>Introduction to BASiCS</td>
		</tr>

	    
	


	    

	    
	    <tr class="row_even">
		<td class="docFixedWidth">
		    <a onClick="javascript: pageTracker._trackPageview('../manuals/BASiCS/man/BASiCS.pdf'); " href="../manuals/BASiCS/man/BASiCS.pdf">PDF</a>
		</td>
		<td class="docFixedWidth">&nbsp;</td>
		<td>Reference Manual</td>
		
	    </tr>
	    

	    


	    
		
		<tr class="row_odd">
		    <td class="docFixedWidth">
			<a href="../news/BASiCS/NEWS">Text</a>
		    </td>
		    <td class="docFixedWidth">&nbsp;</td>
		    <td>NEWS</td>
		</tr>
		
	    


	    


	    

	    

    </table>

    <h3 id="details">Details</h3>
    
    <table class="details">
	<tr class="row_odd">
	    <td>biocViews</td>
	    <td><a href="../../BiocViews.html#___Bayesian">Bayesian</a>, <a href="../../BiocViews.html#___CellBiology">CellBiology</a>, <a href="../../BiocViews.html#___DifferentialExpression">DifferentialExpression</a>, <a href="../../BiocViews.html#___GeneExpression">GeneExpression</a>, <a href="../../BiocViews.html#___ImmunoOncology">ImmunoOncology</a>, <a href="../../BiocViews.html#___Normalization">Normalization</a>, <a href="../../BiocViews.html#___RNASeq">RNASeq</a>, <a href="../../BiocViews.html#___Sequencing">Sequencing</a>, <a href="../../BiocViews.html#___SingleCell">SingleCell</a>, <a href="../../BiocViews.html#___Software">Software</a>, <a href="../../BiocViews.html#___Transcriptomics">Transcriptomics</a></td>
	</tr>

	<tr class="row_even">
	    <td>Version</td>
	    <td>2.0.0</td>
	</tr>

	
	    <tr id="since" class="row_odd">
		<td>In Bioconductor since</td>
		<td>BioC 3.6 (R-3.4) (3 years)</td>
	    </tr>
	



	<tr class="row_even">
	    <td>License</td>
	    
                <td>GPL (>= 2)</td>
	    
	</tr>

	<tr class="row_odd">
	    <td>Depends</td>
	    <td>R (>= 4.0), <a href="../../bioc/html/SingleCellExperiment.html">SingleCellExperiment</a></td>
	</tr>

	<tr class="row_even">
	    <td>Imports</td>
	    <td><a href="../../bioc/html/Biobase.html">Biobase</a>, <a href="../../bioc/html/BiocGenerics.html">BiocGenerics</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/coda/index.html">coda</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/cowplot/index.html">cowplot</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/ggExtra/index.html">ggExtra</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/ggplot2/index.html">ggplot2</a>, graphics, grDevices, <a class="cran_package" href="http://cran.rstudio.com/web/packages/KernSmooth/index.html">KernSmooth</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/MASS/index.html">MASS</a>, methods, <a class="cran_package" href="http://cran.rstudio.com/web/packages/Rcpp/index.html">Rcpp</a> (>= 0.11.3), <a href="../../bioc/html/S4Vectors.html">S4Vectors</a>, <a href="../../bioc/html/scran.html">scran</a>, stats, stats4, <a href="../../bioc/html/SummarizedExperiment.html">SummarizedExperiment</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/viridis/index.html">viridis</a>, utils, <a class="cran_package" href="http://cran.rstudio.com/web/packages/Matrix/index.html">Matrix</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/matrixStats/index.html">matrixStats</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/assertthat/index.html">assertthat</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/reshape2/index.html">reshape2</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/hexbin/index.html">hexbin</a></td>
	</tr>

	<tr class="row_odd">
	    <td>LinkingTo</td>
	    <td><a class="cran_package" href="http://cran.rstudio.com/web/packages/Rcpp/index.html">Rcpp</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/RcppArmadillo/index.html">RcppArmadillo</a></td>
	</tr>

	<tr class="row_even">
	    <td>Suggests</td>
	    <td><a href="../../bioc/html/BiocStyle.html">BiocStyle</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/knitr/index.html">knitr</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/rmarkdown/index.html">rmarkdown</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/testthat/index.html">testthat</a>, <a class="cran_package" href="http://cran.rstudio.com/web/packages/magick/index.html">magick</a></td>
	</tr>

	<tr class="row_odd">
	    <td>SystemRequirements</td>
	    <td>C++11</td>
	</tr>

	<tr class="row_even">
	    <td>Enhances</td>
	    <td></td>
	</tr>

	<tr class="row_odd">
	    <td>URL</td>
	    <td><a href="https://github.com/catavallejos/BASiCS">https://github.com/catavallejos/BASiCS</a> </td>
	</tr>

	
	    <tr class="row_even">
		<td>BugReports</td>
		<td><a href="https://github.com/catavallejos/BASiCS/issues">https://github.com/catavallejos/BASiCS/issues</a> </td>
	    </tr>
	

	<tr class="row_odd">
	    <td>Depends On Me</td>
	    <td></td>
	</tr>

	<tr class="row_even">
	    <td>Imports Me</td>
	    <td></td>
	</tr>

	<tr class="row_odd">
	    <td>Suggests Me</td>
	    <td><a href="../../bioc/html/splatter.html">splatter</a></td>
	</tr>

	<tr class="row_even">
	    <td>Links To Me</td>
	    <td></td>
	</tr>

	
	    <tr class="row_odd">
		<td><a href="http://bioconductor.org/checkResults/3.11/bioc-LATEST/BASiCS/">Build Report</a></td>
		<td>&nbsp;</td>
	    </tr>
	

    </table>


    <h3 id="archives">Package Archives</h3>

    <p>Follow <a href="/install/#install-bioconductor-packages">
    Installation</a> instructions to use this
    package in your R session.</p>

    

    <table>
	<tr class="row_odd">
	    <td>Source Package</td>
	    <td class="rpack"><a onClick="javascript: pageTracker._trackPageview('../src/contrib/BASiCS_2.0.0.tar.gz'); " href="../src/contrib/BASiCS_2.0.0.tar.gz">
		BASiCS_2.0.0.tar.gz</a></td>
	    </tr>

	    <tr class="row_even">
		<td>Windows Binary</td>
		<td class="rpack">
		    
		    
		    <a onClick="javascript: pageTracker._trackPageview('../bin/windows/contrib/4.0/BASiCS_2.0.0.zip'); " href="../bin/windows/contrib/4.0/BASiCS_2.0.0.zip">
			BASiCS_2.0.0.zip</a> (32- &amp; 64-bit)
		    
		    </td>
		</tr>


		


		    <tr class="row_odd">
			<td>macOS 10.13 (High Sierra)</td>
			<td class="rpack"><a onClick="javascript: pageTracker._trackPageview('../bin/macosx/contrib/4.0/BASiCS_2.0.0.tgz'); " href="../bin/macosx/contrib/4.0/BASiCS_2.0.0.tgz">
			    BASiCS_2.0.0.tgz</td>
		    </tr>


		

		
		    <tr class="row_even">
			<td id="svn_source">Source Repository</td>
			<td>git clone https://git.bioconductor.org/packages/BASiCS</td>
		    </tr>
		    <tr class="row_odd">
			<td id="svn_source">Source Repository (Developer Access)</td>
			<td>git clone git@git.bioconductor.org:packages/BASiCS</td>
		    </tr>
		

		    <tr class="row_even">
			<td>Package Short Url</td>
			<td><a title="For citation in publications, etc., please use DOI: 10.18129/B9.bioc.BASiCS" href="/packages/BASiCS/">https://bioconductor.org/packages/BASiCS/</a></td>
		    </tr>


		    <tr class="row_odd">
			<td>Package Downloads Report</td>
			<td><a href="http://bioconductor.org/packages/stats/bioc/BASiCS/">Download Stats</a></td>
		    </tr>

		

		</table>

</div>

	
	

	 
	
	  </div>
	  <div id="RightRail" class="RightRail">
	  <a name="section-navigation"></a> <!-- accessibility anchor -->
	  
  


  
    <div class="shaded_box">
  <img src="/images/inv.gif" align="right" height="200" width="1" alt=""/>
  <p class="box_header">Documentation <span class="olive">&raquo;</span></p>
  <p><em>Bioconductor</em></p>
  <ul>
    <li>Package <a href="/help/package-vignettes/">vignettes</a> and manuals.
    <li><a href="/packages/release/workflows/">Workflows</a> for
    learning and use.</li>
    <li><a href="/help/course-materials/">Course and conference</a>
      material.</li>
    <li><a href="https://www.youtube.com/user/bioconductor">Videos</a>.</li>
    <li>Community <a href="/help/community/">resources</a>
      and <a href="https://support.bioconductor.org/t/Tutorials/">tutorials</a>.</li>
  </ul>
  <p><em>R</em> / <a href="http://cran.r-project.org/">CRAN</a> packages and
   <a href="http://www.r-project.org/other-docs.html">documentation</a></p>
</div>

  
    <div class="shaded_box">
  <img src="/images/inv.gif" align="right" height="200" width="1" alt=""/>
  <p class="box_header"><a href="https://support.bioconductor.org/">Support</a>
  <span class="olive">&raquo;</span></p>
  <p>
    Please read the <a href="/help/support/posting-guide/">posting
    guide</a>. Post questions about Bioconductor
    to one of the following locations:</p>
  <ul>
    <li><a href="https://support.bioconductor.org/">Support site</a> -
        for questions about Bioconductor packages</li>
    <li><a href="/help/support/#bioc-devel">Bioc-devel</a> mailing
        list - for package developers</li>
  </ul>
</div>

  


	

      </div>

      <div id="SiteGlobalFooter" class="SiteGlobalFooter">

  <span class="global_footer_logo_bc noprint"><img src="/images/logo_global_footer_bioconductor.gif" height="51" width="154" alt=""/></span>

  <div class="attribution_copyright">
    <p>Contact us: <a href="https://support.bioconductor.org/">support.bioconductor.org</a></p>
    <p>Copyright &copy; 2003 - 2020, Bioconductor</p>
  </div>

  <a name="site-map"></a> <!-- accessibility anchor -->
  <ul class="footer_nav_list noprint">
    <li class="footer_nav_list_element footer_nav_list_element_0">
      <b><a href="/index.html">Home</a></b>
    </li>
    <li class="footer_nav_list_element footer_nav_list_element_1">
      <ul>
        <li><b><a href="/install/index.html">Install</a></b></li>
        <li><a href="/install/index.html#install-R">Install R</a></li>
        <li><a href="/install/index.html#find-bioconductor-packages">Find Bioconductor Packages</a></li>
        <li><a href="/install/index.html#install-bioconductor-packages">Install Bioconductor Packages</a></li>
        <li><a href="/install/index.html#update-bioconductor-packages">Update Bioconductor Packages</a></li>
      </ul>
    </li>
    <li class="footer_nav_list_element footer_nav_list_element_2">
      <ul>
        <li><b><a href="/help/index.html">Help</a></b></li>
        <li><a href="/packages/release/workflows/">Workflows</a></li>
        <li><a href="/help/package-vignettes/">Package Vignettes</a></li>
        <li><a href="/help/faq/">FAQ</a></li>
        <li><a href="/help/support/">Support</a></li>
        <li><a href="http://cran.r-project.org/">Using R</a></li>
        <li><a href="/help/course-materials/">Courses</a></li>
        <li><a href="/help/publications/">Publications</a></li>
        <li><a href="/help/bioconductor-cloud-ami/">Cloud AMI</a></li>
        <li><a href="/help/community/">Community Resources</a></li>

      </ul>
    </li>
    <li class="footer_nav_list_element footer_nav_list_element_3">
      <ul>
        <li><b><a href="/developers/index.html">Developers</a></b></li>
		<li><a href="/developers/package-guidelines/">Package Guidelines</a></li>
		<li><a href="/developers/package-submission/">Package Submission</a></li>
		<li><a href="/developers/release-schedule/">Release Schedule</a></li>
		<li><a href="/developers/source-control/">Source Control</a></li>
      </ul>
    </li>
    <li class="footer_nav_list_element footer_nav_list_element_4">
      <ul>
        <li><b><a href="/about/index.html">About</a></b></li>
        <li><a href="/about/annual-reports/">Annual Reports</a></li>
        <li><a href="/about/core-team/">Core Team</a></li>
        <li><a href="/about/mirrors/">Mirrors</a></li>
        <li><a href="/about/related-projects/">Related Projects</a></li>
        <li><a href="/about/code-of-conduct/">Code of Conduct</a></li>
     </ul>
    </li>
  </ul>
  <br style="clear:both"/>
  &nbsp;

</div>


<div id="SiteMasthead" class="SiteMasthead">

  <a name="site-navigation"></a> <!-- accessibility anchor -->

  <span class="logo_vanity_bar noprint"></span>

  <a href="/">
	<img src="/images/logo_bioconductor.gif" border="0" class="masthead_logo" height="78" width="260" alt="Bioconductor - open source software for bioinformatics"/>
  </a>

  <div id="SiteMastheadRight" class="SiteMastheadRight">
    <div id="SiteMastheadRightBackground" class="SiteMastheadRightBackground">

      <a name="site-search"></a> <!-- accessibility anchor -->
      <form class="site_search" id="search_form" method="GET"
            action="/help/search/index.html">
        Search: <input id="q" name="q" />
      </form>

      <ul class="masthead_nav noprint">
        <li class="masthead_nav_element" id="masthead_nav_element_1">
          <a href="/">Home</a>
        </li>
        <li class="masthead_nav_element" id="masthead_nav_element_2">
          <a href="/install/">Install</a>
        </li>
        <li class="masthead_nav_element" id="masthead_nav_element_3">
          <a href="/help/">Help</a>
        </li>
        <li class="masthead_nav_element" id="masthead_nav_element_4">
          <a href="/developers/">Developers</a>
        </li>
        <li class="masthead_nav_element" id="masthead_nav_element_5">
          <a href="/about/">About</a>
        </li>
      </ul>

    </div>
  </div>

</div>

    </div>
  </body>
</html>
