16.01.2015 Views

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

48 goodSamples<br />

Usage<br />

goodSamples(datExpr,<br />

useSamples = NULL,<br />

useGenes = NULL,<br />

minFraction = 1/2,<br />

minNSamples = ..minNSamples,<br />

minNGenes = ..minNGenes,<br />

verbose = 1, indent = 0)<br />

Arguments<br />

datExpr<br />

useSamples<br />

useGenes<br />

minFraction<br />

minNSamples<br />

minNGenes<br />

verbose<br />

indent<br />

expression data. A data frame in which columns are genes and rows ar samples.<br />

optional specifications of which samples to use for the check. Should be a logical<br />

vector; samples whose entries are FALSE will be ignored for the missing<br />

value counts. Defaults to using all samples.<br />

optional specifications of genes for which to perform the check. Should be a<br />

logical vector; genes whose entries are FALSE will be ignored. Defaults to<br />

using all genes.<br />

minimum fraction of non-missing samples for a gene to be considered good.<br />

minimum number of good samples for the data set to be considered fit for analysis.<br />

If the actual number of good samples falls below this threshold, an error<br />

will be issued.<br />

minimum number of non-missing samples for a sample to be considered good.<br />

integer level of verbosity. Zero means silent, higher values make the output<br />

progressively more and more verbose.<br />

indentation for diagnostic messages. Zero means no indentation, each unit adds<br />

two spaces.<br />

Details<br />

The constants ..minNSamples and ..minNGenes are both set to the value 4. For most data sets,<br />

the fraction of missing samples criterion will be much more stringent than the absolute number of<br />

missing samples criterion.<br />

Value<br />

A logical vector with one entry per sample that is TRUE if the sample is considered good and FALSE<br />

otherwise. Note that all samples excluded by useSamples are automatically assigned FALSE.<br />

Author(s)<br />

Peter Langfelder and Steve Horvath<br />

See Also<br />

goodSamples, goodSamplesGenes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!