def get_relative_abundance(biomfile):
biomf = biom.load_table(biomfile)<EOL>norm_biomf = biomf.norm(inplace=False)<EOL>rel_abd = {}<EOL>for sid in norm_biomf.ids():<EOL><INDENT>rel_abd[sid] = {}<EOL>for otuid in norm_biomf.ids("<STR_LIT>"):<EOL><INDENT>otuname = oc.otu_name(norm_biomf.metadata(otuid, axis="<STR_LIT>")["<STR_LIT>"])<EOL>otuname = "<STR_LIT:U+0020>".join(otuname.split("<STR_LIT:_>"))<EOL>abd = norm_biomf.get_value_by_ids(otuid, sid)<EOL>rel_abd[sid][otuname] = abd<EOL><DEDENT><DEDENT>ast_rel_abd = bc.arcsine_sqrt_transform(rel_abd)<EOL>return ast_rel_abd<EOL>
Return arcsine transformed relative abundance from a BIOM format file.

:type biomfile: BIOM format file
:param biomfile: BIOM format file used to obtain relative abundances for each OTU in
                 a SampleID, which are used as node sizes in network plots.

:type return: Dictionary of dictionaries.
:return: Dictionary keyed on SampleID whose value is a dictionarykeyed on OTU Name
         whose value is the arc sine tranfsormed relative abundance value for that
         SampleID-OTU Name pair.